diff --git a/docker-compose.yml b/docker-compose.yml index ad2424c540c7ecea283fe9dceb10ec7ab43bff3a..e078e994a4049f5f7053a0024a3391cbb1f6cb64 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,16 +1,25 @@ -#Auflistung aller Dienste +volumes: + documentRoot: services: caddy: build: ./caddy ports: - 9001:80 - #Dienstname bzw. Hostname innerhalb des Netzwerks nginx: - #Pfad zum Dockerfile für diesen Container build: ./nginx - #Port-Mapping von außen nach innen + volumes: + - documentRoot:/usr/share/nginx/html apache: - #Basis-Image image: httpd:2.4 todolist: - build: ./todolist_spring \ No newline at end of file + 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