-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
77 lines (70 loc) · 1.58 KB
/
docker-compose.yaml
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
version: "3.7"
services:
######
#APPS#
######
##
App:
image: php-fpm-runtime
user: 1000:1000
build:
dockerfile: $PWD/Docker/php-fpm-runtime.Dockerfile
restart: always
expose:
- 9000
volumes:
- $PWD/Repos/App:/var/www
##
##########
#SERVICES#
##########
##
caddy:
image: caddy:alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
- "443:443/udp"
volumes:
- $PWD/Caddyfile:/etc/caddy/Caddyfile
- $PWD/Repos:/srv
- $PWD/Services/caddy/data:/data
- $PWD/Services/caddy/config:/config
##
mysql:
image: mysql:8.0
restart: always
environment:
MYSQL_ROOT_PASSWORD: "SuperSecurePassword"
MYSQL_ROOT_HOST: "%"
volumes:
- $PWD/Services/mysql/data/:/var/lib/mysql
ports:
- 3306:3306
##
redis:
restart: always
image: redis:6
command: redis-server --appendonly yes
ports:
- 6379:6379
##
mailhog:
restart: always
image: mailhog/mailhog
ports:
- 1025:1025
- 8025:8025
##
phpmyadmin:
image: phpmyadmin:latest
restart: always
environment:
PMA_ABSOLUTE_URI: "https://phpmyadmin.localhost/"
PMA_HOST: mysql
PMA_USER: root
PMA_PASSWORD: "SuperSecurePassword"
UPLOAD_LIMIT: 10G
MEMORY_LIMIT: 2G
MAX_EXECUTION_TIME: 600