-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
84 lines (84 loc) · 2.05 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '3.4'
networks:
default:
external:
name: '${DOCKER_NETWORK}'
services:
database:
image: 'mariadb:10.5'
environment:
MYSQL_ROOT_PASSWORD: '${MYSQL_ROOT_PASSWORD}'
MYSQL_DATABASE: '${MYSQL_DATABASE}'
MYSQL_USER: '${MYSQL_USER}'
MYSQL_PASSWORD: '${MYSQL_PASSWORD}'
volumes:
- './docker/sqld/initSqld.sql:/docker-entrypoint-initdb.d/1.sql'
restart: unless-stopped
ports:
- '${MYSQL_EXT_PORT:-8006}:3306'
php:
build:
context: ./docker/php-fpm/
dockerfile: Dockerfile
args:
TIMEZONE: '${TIMEZONE}'
docker_proxy: '${PROXY}'
dockers_proxy: '${PROXYS}'
no_proxy: '${NO_PROXY}'
apply_acl_to_root: '${ROOT_ACL:-0}'
jwt_pass: '${JWT_PASSPHRASE}'
volumes:
- './:/var/www/sfuxturbo/'
ports:
- '9000:9000'
restart: unless-stopped
depends_on:
- database
nginx:
build: ./docker/nginx/
image: 'nginx:1.19.0-alpine'
volumes:
- './:/var/www/sfuxturbo/'
ports:
- '${NGINX_EXT_PORT:-8000}:80'
restart: unless-stopped
depends_on:
- php
encore:
build:
context: ./docker/encore/
args:
docker_proxy: '${PROXY}'
dockers_proxy: '${PROXYS}'
no_proxy: '${NO_PROXY}'
image: 'node:12'
volumes:
- './:/var/www/sfuxturbo/'
ports:
- '${NODE_EXT_PORT:-8080}:8080'
restart: unless-stopped
phpmyadmin:
image: 'phpmyadmin/phpmyadmin:latest'
ports:
- '${PMA_EXT_PORT:-8001}:80'
environment:
- PMA_ARBITRARY=1
- PMA_HOST=database
restart: unless-stopped
depends_on:
- database
sqld:
image: d0whc3r/wwwsqldesigner
ports:
- '${SQLD_EXT_PORT:-8002}:80'
environment:
DATABASE_SERVER: database
DATABASE_USER: root
DATABASE_PASSWORD: '${MYSQL_ROOT_PASSWORD}'
DATABASE_NAME: sqld
DATABASE_TABLE: wwwsqldesigner
DATABASE_ROOT: root
DATABASE_ROOT_PASSWORD: '${MYSQL_ROOT_PASSWORD}'
restart: unless-stopped
depends_on:
- database