forked from Cluster23/quant_helper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (35 loc) · 795 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (35 loc) · 795 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
services:
postgres:
image: postgres:16
container_name: postgres
environment:
POSTGRES_USER: cluster23
POSTGRES_PASSWORD: cluster23
POSTGRES_DB: quant-helper
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
- backend
# api:
# build:
# context: .
# dockerfile: ./docker/api/Dockerfile
# container_name: api
# environment:
# SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/quant-helper
# SPRING_DATASOURCE_USERNAME: cluster23
# SPRING_DATASOURCE_PASSWORD: cluster23
# ports:
# - "8080:8080"
# depends_on:
# - postgres
# networks:
# - backend
networks:
backend:
driver: bridge
volumes:
postgres_data: