-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml
60 lines (55 loc) · 1.63 KB
/
docker-compose.override.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
49
50
51
52
53
54
55
56
57
58
59
60
version: "3.4"
services:
nginx:
ports:
- "3000:80"
webapp:
image: ft_transcendence/webapp-dev
build:
context: .
dockerfile: ./webapp/Dockerfile
target: development
volumes:
- ./webapp/src:/service/webapp/src:ro
environment:
- REACT_APP_NAME=webapp-dev
- PORT=80
- WDS_SOCKET_PORT=0
transcendence-app:
image: ft_transcendence/transcendence-app-dev
build:
context: .
dockerfile: ./transcendence-app/Dockerfile
target: development
volumes:
- transcendence-app-data-dev:${TRANSCENDENCE_APP_DATA:-/var/lib/transcendence-app}
- ./transcendence-app/src:/service/transcendence-app/src:ro
- ./transcendence-app/test:/service/transcendence-app/test:ro
- ./transcendence-app/seeds:/service/transcendence-app/seeds:ro
- ./transcendence-app/migrations:/service/transcendence-app/migrations:ro
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- WEBSITE_OWNER_PASSWORD=admin
- WEBSITE_OWNER_USERNAME=admin
- FORTYTWO_APP_CALLBACK_URL=http://localhost:3000/api/v1/auth/login
db:
volumes:
- transcendence-db-dev:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
pg-admin:
image: ft_transcendence/pgadmin
build: ./pg-admin
environment:
- PGADMIN_DEFAULT_PASSWORD=admin
- PGADMIN_LISTEN_PORT=5050
volumes:
- ./pg-admin/servers.json:/pgadmin4/servers.json
ports:
- "5050:5050"
volumes:
transcendence-db-dev:
transcendence-app-data-dev: