-
Notifications
You must be signed in to change notification settings - Fork 30
/
docker-compose.yml
41 lines (38 loc) · 1.18 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
###############################################################################
# Generated on phpdocker.io #
###############################################################################
version: "3.1"
services:
mysql:
restart: unless-stopped
env_file:
- ./.env.local
image: mysql:8.0
container_name: sesdashboard-mysql
working_dir: /application
volumes:
- .:/application
- sesdashboard-mysql-datavolume:/var/lib/mysql
# ports:
# - "8085:3306"
webserver:
restart: unless-stopped
image: nginx:alpine
container_name: sesdashboard-webserver
working_dir: /application
volumes:
- .:/application
- ./phpdocker/nginx/nginx.conf:/etc/nginx/conf.d/default.conf
ports:
- "80:80"
php-fpm:
restart: unless-stopped
build: phpdocker/php-fpm
container_name: sesdashboard-php-fpm
working_dir: /application
volumes:
- '.:/application'
- './phpdocker/php-fpm/php-ini-overrides.ini:/etc/php/8.1/fpm/conf.d/99-overrides.ini'
volumes:
sesdashboard-mysql-datavolume:
driver: local