-
Notifications
You must be signed in to change notification settings - Fork 15
/
docker-compose.yml
37 lines (35 loc) · 1003 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
name: rustyserver
version: "3.8"
services:
nginx:
build:
context: services/sslProxy
ports:
- "443:443"
- "80:80"
extra_hosts:
- "host.docker.internal:host-gateway"
db:
image: postgres:14.6
ports:
- "5432:5432"
# TODO: #1182 remove before prod https://github.com/drazisil/mco-server/issues/1008
environment:
POSTGRES_PASSWORD: "password"
POSTGRES_DB: "mcos"
pgadmin:
image: dpage/pgadmin4:6.18
# TODO: #1182 remove these before prod https://github.com/drazisil/mco-server/issues/1008
environment:
PGADMIN_DEFAULT_EMAIL: "[email protected]"
PGADMIN_DEFAULT_PASSWORD: "password"
PGADMIN_LISTEN_PORT: "80"
POSTGRES_DB: "mcos"
ports:
- "15432:80"
volumes:
- pgadmin:/var/lib/pgadmin
depends_on:
- db
volumes:
pgadmin: