-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
48 lines (44 loc) · 984 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
45
46
47
48
version: "3"
services:
frontend:
build:
context: frontend/
dockerfile: Dockerfile
container_name: frontend
restart: "no"
depends_on:
backend:
condition: service_healthy
backend:
build:
context: backend/
dockerfile: build/package/Dockerfile
container_name: backend
restart: "no"
depends_on:
postgres:
condition: service_healthy
ports:
- 8080:8080
volumes:
- ./backend/configs/config.dev.yml:/config.yml
environment:
SPEAQ_CONFIG: "/config.yml"
SPEAQ_DATABASE_HOST: "postgres"
postgres:
image: postgres:14
container_name: postgres
restart: unless-stopped
ports:
- 5432:5432
environment:
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
adminer:
image: adminer:4
container_name: adminer
restart: unless-stopped
ports:
- 8000:8080
environment:
ADMINER_DEFAULT_SERVER: postgres