-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.override.yml
72 lines (65 loc) · 1.97 KB
/
docker-compose.override.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
# this docker compose is for dev only services
# this is a rough division, not 100% accurate
#
# This override file is applied automatically by docker-compose
# see: https://docs.docker.com/compose/extends/
version: "3"
services:
# build image that is used for further building of services
apachepython:
image: "temachpool/moonspeak-apachepython:${TAG:-latest}"
build:
context: ./infra/apachepython
# image to run KMS service that allows decoding all secrets
# remember to "chmod 444 /root/.ssh/age_keys.txt"
sopskeyservice:
image: "temachpool/moonspeak-sopskeyservice:${TAG:-latest}"
build:
context: ./infra/sopskeyservice
ports:
- 2202:2202
# restart: on-failure
# volumes:
# # mount the age_keys.txt into /home/kms/.ssh/age_keys.txt
# - /root/.ssh/age_keys.txt:/home/kms/.ssh/age_keys.txt
# view docker logs nicely in browser
dozzle:
image: amir20/dozzle:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 3000:8080
jaeger:
# send tracing data to collector address: https://www.jaegertracing.io/docs/1.46/deployment/#collector
image: "jaegertracing/all-in-one:latest"
env_file:
- docker-env/jaeger.env
ports:
- "16686:16686" # jaeger web ui port
- "4317:4317" # gRPC otel collector port
- "4318:4318" # HTTP otel collector port
keycloak:
image: "temachpool/moonspeak-keycloak:${TAG:-latest}"
build:
context: ./infra/keycloak
depends_on:
- postgres
- mailhog
command: --verbose start-dev --import-realm
ports:
- "8443:8443"
env_file:
- docker-env/all.env
- docker-env/keycloak.env
# fake SMTP to receive any mail and view it in browser webgui on port 8025
mailhog:
image: mailhog/mailhog:v1.0.1
ports:
- "587:587"
- "8025:8025"
env_file:
- docker-env/mailhog.env
postgres:
image: docker.io/postgres:15.2
env_file:
- docker-env/postgres.env