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: services:
openresty: openresty:
image: docker.fet.at/openrestyfetfull:latest image: docker.fet.at/openrestyfetfull:latest
container_name: nginx
ports: ports:
- "80:80" - "80:80"
- "443:443" - "443:443"
volumes: volumes:
# bei der Produktivvariante macht es Sinn hier einen Ordner zu mappen # bei der Produktivvariante macht es Sinn hier einen Ordner zu mappen
# zB: ./conf.d/:/etc/nginx/conf.d/ # zB: ./conf.d/:/etc/nginx/conf.d/
- nginxconf:/etc/nginx/conf.d/ # - nginxconf:/etc/nginx/conf.d/
# theiaconf: # theiaconf:
# image: docker.triton2.fet.at/dev_theia # image: docker.triton2.fet.at/dev_theia
# volumes: # volumes:
# - nginxconf:/home/project # - nginxconf:/home/project
# - /var/run/docker.sock:/var/run/docker.sock # - /var/run/docker.sock:/var/run/docker.sock
volumes: #volumes:
nginxconf: # nginxconf:
driver: local # driver: local
networks:
default:
name: nginx