diff --git a/docker-compose.yml b/docker-compose.yml index 1efc45d..06039b9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -30,24 +30,6 @@ services: networks: - backend-nextcloud - web: - image: nginx - ports: - - 8080:80 - links: - - app - networks: - - webproxy - - backend-nextcloud - volumes: - - /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf - volumes_from: - - app - container_name: nextcloud-nginx-bmen-cc - depends_on: - - app - restart: always - app: image: nextcloud:fpm links: @@ -64,3 +46,21 @@ services: depends_on: - db - redis + +web: + image: nginx + ports: + - 8080:80 + links: + - app + networks: + - webproxy + - backend-nextcloud + volumes: + - /opt/appdata/nextcloud/nginx.conf:/etc/nginx/nginx.conf + volumes_from: + - app + container_name: nextcloud-nginx-bmen-cc + depends_on: + - app + restart: always