Skip to content

Commit 4537a37

Browse files
authored
Use new combined docker image in docker compose (#1497)
1 parent 25262a5 commit 4537a37

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

docker-compose.yml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,34 +4,27 @@ networks:
44

55
volumes:
66
bracket_pg_data:
7+
bracket_static_data:
78

89
services:
9-
bracket-backend:
10-
container_name: bracket-backend
10+
bracket:
11+
container_name: bracket
1112
depends_on:
1213
- postgres
1314
environment:
1415
ENVIRONMENT: DEVELOPMENT
15-
CORS_ORIGINS: http://localhost:3000
16+
CORS_ORIGINS: http://localhost:8400
1617
PG_DSN: postgresql://bracket_dev:bracket_dev@postgres:5432/bracket_dev
17-
image: ghcr.io/evroon/bracket-backend
18+
SERVE_FRONTEND: true
19+
API_PREFIX: '/api'
20+
image: ghcr.io/evroon/bracket
1821
networks:
1922
- bracket_lan
2023
ports:
2124
- 8400:8400
2225
restart: unless-stopped
2326
volumes:
24-
- ./backend/static:/app/static
25-
26-
bracket-frontend:
27-
container_name: bracket-frontend
28-
environment:
29-
VITE_API_BASE_URL: http://localhost:8400
30-
VITE_HCAPTCHA_SITE_KEY: 10000000-ffff-ffff-ffff-000000000001
31-
image: ghcr.io/evroon/bracket-frontend
32-
ports:
33-
- 3000:3000
34-
restart: unless-stopped
27+
- bracket_static_data:/app/static
3528

3629
postgres:
3730
environment:

0 commit comments

Comments
 (0)