-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
47 lines (42 loc) · 983 Bytes
/
compose.yaml
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
services:
postgres:
build:
dockerfile: images/postgres.dockerfile
environment:
POSTGRES_USER: ash
POSTGRES_DB: pokedex
POSTGRES_PASSWORD: pikachu
networks:
- kanto
ports:
- 5432:5432
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: [email protected]
PGADMIN_DEFAULT_PASSWORD: pikachu
volumes:
- ${PWD}/pgadmin_servers.json:/pgadmin4/servers.json
networks:
- kanto
ports:
- 50151:80
# tcgdex:
# build:
# dockerfile: images/tcgdex.dockerfile
# environment:
# POSTGRES_URL: postgresql://ash:pikachu@postgres:5432/pokedex
# volumes:
# - ${PWD}/data:/app/data
# - ${PWD}/tmp:/app/tmp
# - ${PWD}/data_config.json:/app/data_config.json
# networks:
# - kanto
# ports:
# - 8000:8000 # sidecar
# - 8001:8001 # go
# - 8501:8501 # front
# tty: true
networks:
kanto:
driver: bridge