-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
47 lines (43 loc) · 1.02 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
version: '3.8'
services:
db:
container_name: db
image: mariadb:latest
restart: always
env_file:
- .env
ports:
- "3306:3306"
volumes:
- db_data:/var/lib/mysql
phpmyadmin:
container_name: phpmyadmin
image: phpmyadmin/phpmyadmin
restart: always
env_file:
- .env
ports:
- "8080:80"
mercure-sse:
container_name: mercure-sse
image: dunglas/mercure
restart: always
environment:
# Uncomment the following line to disable HTTPS
SERVER_NAME: ':1405'
MERCURE_PUBLISHER_JWT_KEY: '!ChangeMe!'
MERCURE_SUBSCRIBER_JWT_KEY: '!ChangeMe!'
MERCURE_EXTRA_DIRECTIVES: |
cors_origins http://localhost:4200 https://epitalk.dibodev.com
anonymous
# Uncomment the following line to enable the development mode
command: /usr/bin/caddy run --config /etc/caddy/Caddyfile.dev
ports:
- "1405:1405"
volumes:
- caddy_data:/data
- caddy_config:/config
volumes:
caddy_data:
caddy_config:
db_data: