-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (35 loc) · 867 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
38 lines (35 loc) · 867 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
services:
postgres:
image: postgres:15-alpine
container_name: tractian-webinar-db
restart: unless-stopped
environment:
POSTGRES_DB: tractian_webinar
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
# volumes:
# - postgres_data:/var/lib/postgresql/data
networks:
- tractian-webinar-network
# app:
# build:
# context: .
# dockerfile: Dockerfile
# container_name: tractian-webinar-api
# restart: unless-stopped
# ports:
# - "8080:8080"
# environment:
# - NODE_ENV=production
# - DATABASE_URL=postgresql://postgres:postgres@postgres:5432/tractian_webinar
# depends_on:
# - postgres
# networks:
# - tractian-webinar-network
volumes:
postgres_data:
networks:
tractian-webinar-network:
driver: bridge