diff options
-rw-r--r-- | composer/nginx/docker-compose.yml | 12 | ||||
-rw-r--r-- | docker.yml | 16 |
2 files changed, 15 insertions, 13 deletions
diff --git a/composer/nginx/docker-compose.yml b/composer/nginx/docker-compose.yml deleted file mode 100644 index 960bfb4..0000000 --- a/composer/nginx/docker-compose.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: '3' -services: - main: - build: . - network_mode: host - volumes: - - "/etc/letsencrypt/live/dybiec.info:/etc/letsencrypt/live/dybiec.info:ro" - - "/etc/letsencrypt/archive/dybiec.info:/etc/letsencrypt/archive/dybiec.info:ro" - ports: - - "443:443" - - "80:80" - restart: always @@ -25,7 +25,21 @@ restart: always - name: nginx docker_service: - project_src: composer/nginx + project_name: nginx + definition: + version: '3' + services: + main: + build: "{{docker_compose_dir}}/nginx" + network_mode: host + volumes: + - "/etc/letsencrypt/live/dybiec.info:/etc/letsencrypt/live/dybiec.info:ro" + - "/etc/letsencrypt/archive/dybiec.info:/etc/letsencrypt/archive/dybiec.info:ro" + ports: + - "443:443" + - "80:80" + restart: always + - name: gitea docker_service: project_name: gitea |