-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
71 lines (66 loc) · 1.54 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
services:
proxy:
image: ghcr.io/le-phare/docker-stack/proxy:main
restart: unless-stopped
networks:
- public
ports:
# HTTP
- target: 80
published: ${HTTP_PORT:-80}
protocol: tcp
# HTTPS
- target: 443
published: ${HTTPS_PORT:-443}
protocol: tcp
# HTTP/3
- target: 443
published: ${HTTP3_PORT:-443}
protocol: udp
environment:
CADDY_INGRESS_NETWORKS: dev_public
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- caddy_config:/config
- caddy_data:/data
labels:
caddy: ${DOCKER_HOST_SUFFIX:-local}
caddy.tls: internal
caddy.respond: |-
/ "Healthy" 200
healthcheck:
test: [ "CMD", "wget", "-qO-", "http://localhost:2019/config" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
maildev:
restart: always
image: maildev/maildev
networks:
public:
private:
command: bin/maildev --web 80 --smtp 25 --outgoing-host smtp-relay.gmail.com --outgoing-secure
labels:
caddy: maildev.${DOCKER_HOST_SUFFIX:-local}
caddy.tls: internal
caddy.reverse_proxy: "{{upstreams}}"
healthcheck:
test: [ "CMD", "wget", "-qO-", "http://localhost" ]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
memcached:
restart: always
image: memcached:1.6-alpine
networks:
private:
networks:
public:
driver: bridge
private:
driver: bridge
volumes:
caddy_data:
caddy_config: