-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
60 lines (54 loc) · 1.22 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
version: '3.8'
services:
nginx:
build:
context: ./nginx
dockerfile: Dockerfile
ports:
- "80:80"
volumes:
- ./volumes/libresign-e-commerce:/var/www/html
depends_on:
- php
networks:
- libresign-e-commerce
php:
build:
context: ./php
dockerfile: Dockerfile
ports:
- "5173:5173"
volumes:
- ./volumes/libresign-e-commerce:/var/www/html
networks:
- libresign-e-commerce
db:
image: mariadb
environment:
- TZ=${TZ:-CET}
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD:-root}
- MYSQL_DATABASE=${MYSQL_DATABASE:-libresign}
- MYSQL_USER=${MYSQL_USER:-libresign}
- MYSQL_PASSWORD=${MYSQL_PASSWORD:-libresign}
volumes:
- ./.docker/config/mysql:/etc/mysql/conf.d
# - ./volumes/mysql/dump:/docker-entrypoint-initdb.d
- ./volumes/mysql/data:/var/lib/mysql
restart: unless-stopped
ports:
- "3306:3306"
networks:
- libresign-e-commerce
mailhog:
image: blueimp/mailhog
ports:
- 8025:8025
- 1025:1025
networks:
- libresign-e-commerce
redis:
image: redis:latest
networks:
- libresign-e-commerce
networks:
libresign-e-commerce: