-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathprod.compose.yaml
More file actions
72 lines (67 loc) · 1.92 KB
/
Copy pathprod.compose.yaml
File metadata and controls
72 lines (67 loc) · 1.92 KB
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
services:
orchestrator:
tty: true
build:
context: . # insecure probably, fix later
dockerfile: repos/images/platform/orchestrator/prod.Dockerfile
container_name: limespaces-orchestrator
volumes:
- "/var/run/docker.sock:/var/run/docker.sock" # insecure, ensure that the container is trusted
env_file:
- ./env/orchestrator.env
networks:
- limespaces-net
- traefik_proxy # insecure, fix later
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_proxy"
- "traefik.http.routers.limespaces-orchestrator.rule=Host(`api.limespaces.martinpetr.dev`)"
- "traefik.http.services.limespaces-orchestrator.loadbalancer.server.port=3000"
dashboard:
tty: true
build:
context: .
dockerfile: repos/images/platform/dashboard/prod.Dockerfile
container_name: limespaces-dashboard
env_file:
- ./env/dashboard.env
networks:
- limespaces-net
- traefik_proxy # insecure, fix later
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_proxy"
- "traefik.http.routers.limespaces-dashboard.rule=Host(`limespaces.martinpetr.dev`)"
- "traefik.http.services.limespaces-dashboard.loadbalancer.server.port=3000"
postgres:
image: postgres:18
container_name: limespaces-postgres
env_file:
- ./env/postgres.env
volumes:
- ./var/postgres:/var/lib/postgresql
networks:
- limespaces-net
redis:
image: redis:8.8
container_name: limespaces-redis
volumes:
- ./var/redis:/data
env_file:
- ./env/redis.env
networks:
- limespaces-net
registry:
image: registry:2
container_name: limespaces-registry
ports:
- "127.0.0.1:5001:5000"
volumes:
- ./var/registry:/var/lib/registry
networks:
- limespaces-net
networks:
limespaces-net:
name: limespaces-net
traefik_proxy:
external: true