-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.docker-compose.yml
More file actions
41 lines (41 loc) · 906 Bytes
/
Copy pathdev.docker-compose.yml
File metadata and controls
41 lines (41 loc) · 906 Bytes
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
services:
web:
build:
dockerfile: ./app/Dockerfile
context: ./app
links:
- server:server
ports:
- 8080:80
labels:
- "com.centurylinklabs.watchtower.enable=true"
server:
build:
dockerfile: ./Dockerfile
context: .
env_file:
- .vedh.env
ports:
- 8081:8080
links:
- postgres:postgres
volumes:
- "./persistence/migrations/:/app/persistence/migrations/"
depends_on:
- postgres
labels:
- "com.centurylinklabs.watchtower.enable=true"
postgres:
image: postgres:14
environment:
POSTGRES_USER: ${POSTGRESQL_USERNAME:-edhgo}
POSTGRES_PASSWORD: ${POSTGRESQL_PASSWORD:-edhgo}
POSTGRES_DB: ${POSTGRESQL_DATABASE:-edhgo}
volumes:
- postgres-data:/var/lib/postgresql/data
env_file:
- ./.pg.env
ports:
- 5432:5432
volumes:
postgres-data: