-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
95 lines (87 loc) · 2 KB
/
docker-compose.yml
File metadata and controls
95 lines (87 loc) · 2 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
services:
nefarious:
container_name: nefarious
build:
context: ./nefarious
dockerfile: Dockerfile
# privileged: true
# networks:
# test_net:
# ipv6_address: fec0:3200::99
command: ["/home/nefarious/bin/ircd", "-n", "-x", "8", "-f", "ircd-docker.conf"]
volumes:
- ./data/ircd.conf:/home/nefarious/ircd/ircd.conf
- ./data/saslusers:/home/nefarious/ircd/saslusers
# - ./data/:/home/nefarious/data
ports:
- 127.0.0.1:6667:6667
- 127.0.0.1:6697:6697
- 127.0.0.1:4497:4497
- 127.0.0.1:9998:9998
env_file:
- .env
- .env.local
healthcheck:
test: ["CMD", "pgrep", "-x", "ircd"]
interval: 5s
timeout: 3s
retries: 5
start_period: 10s
x3:
container_name: x3
build:
context: ./x3
dockerfile: Dockerfile
depends_on:
nefarious:
condition: service_healthy
env_file:
- .env
- .env.local
volumes:
- ./data/x3.conf:/x3/data/x3.conf
integration-tests:
container_name: integration-tests
build:
context: ./tests
dockerfile: Dockerfile
depends_on:
nefarious:
condition: service_healthy
profiles:
- test
volumes:
- ./tests/src:/tests/src:ro
## authentik-ldap:
## image: ghcr.io/goauthentik/ldap
## # networks:
## # - nginx
## ports:
## - 127.0.0.1:389:3389
## - 127.0.0.1:636:6636
## env_file:
## - .env
## - .env.local
keycloak:
container_name: keycloak
image: quay.io/keycloak/keycloak:26.4.7
ports:
- 127.0.0.1:8080:8080
environment:
- KC_BOOTSTRAP_ADMIN_USERNAME=admin
- KC_BOOTSTRAP_ADMIN_PASSWORD=admin
command: start-dev
volumes:
- keycloak_data:/opt/keycloak/data
volumes:
keycloak_data:
# x3_data:
#networks:
# test_net:
# enable_ipv6: true
# driver: bridge
# ipam:
# driver: default
# config:
# - subnet: 10.1.2.0/24
# - subnet: fec0:3200::1/64