forked from skaut/SRS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
62 lines (56 loc) · 1.28 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
version: '3.4'
services:
app:
container_name: srs.app
image: skaut/lebeda:8.1
volumes:
- www:/var/www
- .:/var/www/html
depends_on:
- mysql
environment:
DEVELOPMENT_MACHINE: 'true'
networks:
main:
aliases:
- srs.loc
mysql:
container_name: srs.mysql
image: mysql:8.0
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_DATABASE: srs
TZ: Europe/Paris
networks:
main:
aliases:
- mysql
mysql-test:
container_name: srs.mysql-test
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: 'root'
MYSQL_DATABASE: srs
TZ: Europe/Paris
networks:
main:
aliases:
- mysql-test
smtp:
container_name: srs.smtp
image: tophfr/mailcatcher
environment:
SMTP_HOST: smtp-srs.loc
networks:
main:
aliases:
- smtp-srs.loc
ports:
- 1080:80
volumes:
mysql:
www:
networks:
main: