-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.dev.yml
64 lines (58 loc) · 1.63 KB
/
docker-compose.dev.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
version: "3"
services:
traefik:
image: traefik:v3.0
command:
- "--api.insecure=true"
- "--providers.docker"
- "--providers.docker.exposedbydefault=false"
- "--entrypoints.web.address=:80"
- "--entrypoints.websecure.address=:443"
- "--certificatesresolvers.myresolver.acme.httpchallenge=true"
- "--certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=web"
- "--certificatesresolvers.myresolver.acme.email=contact@softwarecitadel.com"
- "--certificatesresolvers.myresolver.acme.storage=/letsencrypt/acme.json"
- "--entrypoints.postgres.address=:5432"
- "--entrypoints.redis.address=:6379"
- "--entrypoints.mysql.address=:3306"
ports:
- "80:80"
- "443:443"
- "8080:8080"
- "5432:5432"
- "6379:6379"
- "3306:3306"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- "citadel_traefik:/letsencrypt"
networks:
- traefik
redis:
image: redis:6.2
ports:
# We use the 6380 port to avoid conflicts with Traefik
- "6380:6379"
registry:
image: registry:2
ports:
- "5000:5000"
volumes:
- "citadel_registry:/var/lib/registry"
minio:
image: "minio/minio:latest"
ports:
- "${MINIO_PORT:-9000}:9000"
- "${MINIO_CONSOLE_PORT:-8900}:8900"
environment:
MINIO_ROOT_USER: "console"
MINIO_ROOT_PASSWORD: "consoleconsole"
volumes:
- "citadel_minio:/data/minio"
command: minio server /data/minio --console-address ":8900"
volumes:
citadel_traefik:
citadel_registry:
citadel_minio:
networks:
traefik:
name: traefik