Skip to content
Snippets Groups Projects
Commit bc9f0b3d authored by Hoai Viet Nguyen's avatar Hoai Viet Nguyen
Browse files

create volumes documentRoot for nginx and ftp

parent 95856227
No related branches found
No related tags found
No related merge requests found
#Auflistung aller Dienste volumes:
documentRoot:
services: services:
caddy: caddy:
build: ./caddy build: ./caddy
ports: ports:
- 9001:80 - 9001:80
#Dienstname bzw. Hostname innerhalb des Netzwerks
nginx: nginx:
#Pfad zum Dockerfile für diesen Container
build: ./nginx build: ./nginx
#Port-Mapping von außen nach innen volumes:
- documentRoot:/usr/share/nginx/html
apache: apache:
#Basis-Image
image: httpd:2.4 image: httpd:2.4
todolist: todolist:
build: ./todolist_spring build: ./todolist_spring
ftp:
image: garethflowers/ftp-server
ports:
- 21:21
- 40000-40009:40000-40009
environment:
- FTP_USER=viet
- FTP_PASS=V9ldUF5XOj2k
volumes:
- documentRoot:/home/viet
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment