generated from NablaT/starter-ps6-full-stack
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-full.yml
40 lines (37 loc) · 988 Bytes
/
docker-compose-full.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
version: '3.8'
services:
postgres:
image: postgres:13.3-alpine
container_name: postgres
restart: unless-stopped
ports:
- '5432:5432'
volumes:
- postgres:/var/lib/postgresql/data
env_file:
- .env
api:
image: ghcr.io/2019-2020-ps6/2022-2023-ps6-webonjour/backend-api
container_name: api
restart: unless-stopped
ports:
- '3000:3000'
environment:
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres
- PORT=3000
- NODE_ENV=production
- HOST=0.0.0.0
front-end-back-office:
image: ghcr.io/2019-2020-ps6/2022-2023-ps6-webonjour/front-end-back-office
container_name: front-end-back-office
restart: unless-stopped
ports:
- '4200:80'
front-end-front-office:
image: ghcr.io/2019-2020-ps6/2022-2023-ps6-webonjour/front-end-front-office
container_name: front-end-front-office
restart: unless-stopped
ports:
- '4201:80'
volumes:
postgres: