-
Notifications
You must be signed in to change notification settings - Fork 12
/
docker-compose.yml
105 lines (97 loc) · 1.97 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
version: "3"
services:
web:
container_name: molior-web
build:
context: .
dockerfile: docker/dev/web-dev.Dockerfile
depends_on:
- molior
networks:
- molior
ports:
- "8000:4200"
volumes:
- ./:/molior
- ../molior-web2:/app
- molior:/var/lib/molior/
molior:
container_name: molior-server
build:
context: .
dockerfile: docker/dev/molior-dev.Dockerfile
env_file: .env
extra_hosts:
- "host.docker.internal:host-gateway"
depends_on:
- postgres
- nginx
- registry
networks:
- molior
ports:
- "127.0.0.1:9999:9999"
volumes:
- ./:/app
- pgsock:/var/run/postgresql/
- /var/run/docker.sock:/var/run/docker.sock
- molior:/var/lib/molior/
postgres:
container_name: molior-postgres
build:
context: .
dockerfile: docker/common/postgres.Dockerfile
networks:
- molior
volumes:
- pgsock:/var/run/postgresql/
- postgres:/var/lib/postgresql/15/main
aptly:
container_name: molior-aptly
build:
context: .
dockerfile: docker/dev/aptly-dev.Dockerfile
env_file: .env
networks:
- molior
ports:
- "127.0.0.1:3142:3142"
volumes:
- ./:/molior
- ../aptly:/app
- aptly:/var/lib/aptly/
nginx:
container_name: molior-nginx
build:
context: .
dockerfile: docker/common/nginx.Dockerfile
env_file: .env
depends_on:
- aptly
networks:
- molior
ports:
- "8080:8000"
volumes:
- aptly:/var/lib/aptly/
registry:
container_name: molior-registry
build:
context: .
dockerfile: docker/common/registry.Dockerfile
env_file: .env
networks:
- molior
ports:
- "127.0.0.1:5000:5000"
volumes:
- registry:/var/lib/docker-registry/
networks:
molior:
name: molior
volumes:
pgsock:
postgres:
registry:
aptly:
molior: