forked from creativetechnologylab/checkout
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
44 lines (44 loc) · 998 Bytes
/
docker-compose.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
38
39
40
41
42
43
44
version: "3"
services:
postgres14:
image: "postgres:14-alpine"
networks:
- database
volumes:
- pg_data14:/var/lib/postgresql/data
env_file: ./docker.env
nodejs:
build:
context: .
networks:
- database
- web
depends_on:
- postgres14
restart: unless-stopped
env_file: ./docker.env
environment:
- POSTGRES_HOST=postgres14
- POSTGRES_PORT=5432
- APP_HOST=
- APP_PORT=3000
- APP_COOKIE=checkout_session
- USER_PW_ITERATIONS=350000
- LOG_PATH=./logs
- LOG_STDOUT=true
nginx:
build:
context: ./docker/nginx
ports:
- "80:80"
- "443:443"
restart: always
depends_on:
- nodejs
networks:
- web
networks:
database:
web:
volumes:
pg_data14: