Add Dockerfile for nginx

pull/125/head
Tilo Spannagel 9 years ago
parent f1515a32dc
commit b120af8e7f
No known key found for this signature in database
GPG Key ID: B89F1626A58E1429

@ -25,13 +25,12 @@ services:
- db.env
web:
image: nginx
build: ./web
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro
cron:
build: ./app

@ -0,0 +1,3 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

@ -21,13 +21,12 @@ services:
- db.env
web:
image: nginx
build: ./web
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro
volumes:
db:

@ -0,0 +1,3 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf

@ -18,13 +18,12 @@ services:
- db.env
web:
image: nginx
build: ./web
restart: always
ports:
- 8080:80
volumes:
- nextcloud:/var/www/html:ro
- ./nginx.conf:/etc/nginx/nginx.conf:ro
volumes:
db:

@ -0,0 +1,3 @@
FROM nginx
COPY nginx.conf /etc/nginx/nginx.conf
Loading…
Cancel
Save