-
-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-compose.yml
59 lines (59 loc) · 1.46 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
version: "3"
services:
mysql:
image: mariadb:10.6
container_name: gameap_db
hostname: gameap.db
ports:
- "13306:3306"
environment:
- MYSQL_ROOT_PASSWORD=gameapdbsuperduperpass
- MYSQL_DATABASE=gameap
- MYSQL_USER=gameap
- MYSQL_PASSWORD=gameap
restart: always
nginx:
image: nginx:latest
container_name: gameap_nginx
hostname: gameap.web
ports:
- "2080:80"
volumes:
- ./:/var/www
- ./.dev/nginx-configs/default.conf:/etc/nginx/conf.d/default.conf
restart: always
php:
build: ./.dev/docker/php
container_name: gameap_php
hostname: gameap.php
volumes:
- ./:/var/www
- ./.dev/docker/php/zzz-config.ini:/usr/local/etc/php/conf.d/zzz-config.ini
environment:
DB_CONNECTION: mysql
DB_HOST: db
DB_DATABASE: gameap
DB_USERNAME: gameap
DB_PASSWORD: gameap
XDEBUG_MODE: debug
XDEBUG_CONFIG: "client_host=172.17.0.1 mode=debug start_with_request=yes idekey=PHPSTORM"
PHP_IDE_CONFIG: "serverName=gameap-develop"
ADMIN_PASSWORD: fpwPOuZD
DAEMON_SETUP_TOKEN: test_auto_setup_token
APP_KEY: eefeiQuaeti0Eeshoh7Efei1paizee1i
APP_DEBUG: true
links:
- mysql:db
restart: always
depends_on:
- mysql
daemon:
build: ./.dev/docker/gdaemon
container_name: gameap_daemon
restart: always
links:
- nginx:gameap
depends_on:
- php
- nginx
- mysql