fix doocker compose
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user