-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
68 lines (65 loc) · 1.77 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: rustyserver
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
# node:
# image: "node:19"
# user: "node"
# working_dir: /home/node/app
# volumes:
# - ./:/home/node/app
# environment:
# - DEBUG=mcos:*
# # TODO: #1182 remove before prod https://github.com/drazisil/mco-server/issues/1008
# - CONNECTION_URL=postgresql://postgres:password@db:5432/mcos
# - EXTERNAL_HOST=10.10.5.20
# - PRIVATE_KEY_FILE=data/private_key.pem
# - PUBLIC_KEY_FILE=data/pub.key
# - CERTIFICATE_FILE=data/mcouniverse.crt
# - LOG_LEVEL=debug
# command: "make docker-init"
# ports:
# - "80:80"
# - "6660:6660"
# - "8228:8228"
# - "8226:8226"
# - "7003:7003"
# - "8227:8227"
# - "43200:43200"
# - "43300:43300"
# - "43400:43400"
# - "53303:53303"
# - "9000-9014:9000-9014"
# # restart: always
# depends_on:
# - db
volumes:
pgadmin: