fix doocker compose

This commit is contained in:
2021-12-04 14:47:06 +01:00
parent 3760181110
commit 839240c634

View File

@@ -2,18 +2,22 @@ version: '2'
services:
openresty:
image: docker.fet.at/openrestyfetfull:latest
container_name: nginx
ports:
- "80:80"
- "443:443"
volumes:
# bei der Produktivvariante macht es Sinn hier einen Ordner zu mappen
# zB: ./conf.d/:/etc/nginx/conf.d/
- nginxconf:/etc/nginx/conf.d/
# - nginxconf:/etc/nginx/conf.d/
# theiaconf:
# image: docker.triton2.fet.at/dev_theia
# volumes:
# - nginxconf:/home/project
# - /var/run/docker.sock:/var/run/docker.sock
volumes:
nginxconf:
driver: local
#volumes:
# nginxconf:
# driver: local
networks:
default:
name: nginx