-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-prod.yml
37 lines (34 loc) · 996 Bytes
/
docker-compose-prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '3.7'
services:
dcc-verifier-api:
container_name: dcc-verifier-api
image: grambas/dcc-verifier-api:8.1
environment:
APP_ENV: prod
volumes:
- ./app:/srv/app:rw,cached
- ./php/prod.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini #overwrite xdebug config
- ./php/php-fpm.conf:/usr/local/etc/php-fpm.d/zz-docker.conf
restart: on-failure
dcc-verifier-api-nginx:
image: nginx:1.15.3-alpine
container_name: dcc-verifier-api-nginx
restart: on-failure
environment:
VIRTUAL_HOST: dcc-verifier.de,www.dcc-verifier.de
LETSENCRYPT_HOST: dcc-verifier.de,www.dcc-verifier.de
LETSENCRYPT_EMAIL: [email protected]
# ports:
# - "81:80"
expose:
- 80
volumes:
- ./app:/srv/app:cached
- ./nginx/conf.d:/etc/nginx/conf.d:ro
- ./nginx/nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- dcc-verifier-api
networks:
default:
external:
name: nginx-proxy