This repository was archived by the owner on Apr 16, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
88 lines (81 loc) · 2.15 KB
/
docker-compose.yaml
File metadata and controls
88 lines (81 loc) · 2.15 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
version: "3.8"
services:
symfony:
build: symfony_config
container_name: symfony_docker
ports:
- "8245:80"
volumes:
- ./symfony_config/vhosts:/etc/apache2/sites-enabled
- ./symfony_project:/var/www/symfony_project
restart: on-failure
networks:
- dev
# entrypoint: /bin/bash -c "cd symfony_project && composer install"
maildev:
image: maildev/maildev
container_name: maildev_docker
command: bin/maildev --web 80 --smtp 25 --hide-extensions STARTTLS
ports:
- "8081:80"
restart: on-failure
networks:
- dev
db:
image: mariadb:10.7.1
container_name: mariadb_docker
restart: on-failure
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_DATABASE: data
MYSQL_USER: root
MYSQL_ROOT_PASSWORD: password
networks:
- dev
phpmyadmin:
image: phpmyadmin
container_name: phpmyadmin_docker
restart: on-failure
depends_on:
- db
ports:
- "8080:80"
environment:
PMA_HOST: db
networks:
- dev
caddy:
image: dunglas/mercure
restart: on-failure
container_name: mercure_docker
environment:
# Uncomment the following line to disable HTTPS
SERVER_NAME: ":80"
MERCURE_PUBLISHER_JWT_KEY: "!ChangeThisMercureSecretKeyWithAKeyGreaterThan256Bits!"
MERCURE_SUBSCRIBER_JWT_KEY: "!ChangeThisMercureSecretKeyWithAKeyGreaterThan256Bits!"
MERCURE_EXTRA_DIRECTIVES:
cors_origins "http://localhost:5432"
cors_origins "http://localhost:8245"
cors_origins "http://localhost:5500"
cors_origins "http://localhost:9090"
cors_origins "http://192.168.1.11:19000"
cors_origins "http://127.0.0.1:5175"
cors_origins "http://localhost:5173"
# cors_origins "*"
# Uncomment the following line to enable the development mode
command: /usr/bin/caddy run -config /etc/caddy/Caddyfile.dev
ports:
- "9090:80"
- "443:443"
# volumes:
# - caddy_data:/data
# - caddy_config:/config
networks:
- dev
networks:
dev:
volumes:
db-data:
# caddy_data:
# caddy_config: