-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (36 loc) · 843 Bytes
/
docker-compose.yml
File metadata and controls
39 lines (36 loc) · 843 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
networks:
bracket_lan:
driver: bridge
volumes:
bracket_pg_data:
bracket_static_data:
services:
bracket:
container_name: bracket
depends_on:
- postgres
environment:
ENVIRONMENT: DEVELOPMENT
CORS_ORIGINS: http://localhost:8400
PG_DSN: postgresql://bracket_dev:bracket_dev@postgres:5432/bracket_dev
SERVE_FRONTEND: true
API_PREFIX: '/api'
image: ghcr.io/evroon/bracket
networks:
- bracket_lan
ports:
- 8400:8400
restart: unless-stopped
volumes:
- bracket_static_data:/app/static
postgres:
environment:
POSTGRES_DB: bracket_dev
POSTGRES_PASSWORD: bracket_dev
POSTGRES_USER: bracket_dev
image: postgres
networks:
- bracket_lan
restart: always
volumes:
- bracket_pg_data:/var/lib/postgresql/data