-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (45 loc) · 983 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (45 loc) · 983 Bytes
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
version: "3.1"
services:
nginx:
build: images/nginx
command: nginx -g "daemon off;"
links:
- php-fpm
ports:
- "80:80"
volumes:
- ./:/var/www/html
php-fpm:
build:
context: images/php-fpm
args:
sypian_env: ${SYPIAN_BUILD_ENV-development}
container_name: sypian-manager
volumes:
- ./:/var/www/html
working_dir: /var/www/html/public
command: php-fpm
ports:
- "9000:9000"
links:
- mysql
environment:
APP_ENV: local
APP_DEBUG: 'true'
APP_KEY: base64:XonIhcT+u9AD+8jTPxxRHYQy/IEJ/Nds1qaPDTaX544=
APP_LOCALE: en
APP_FALLBACK_LOCALE: en
GIT_BRANCH: ${TRAVIS_BRANCH-HEAD}
mysql:
image: mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: foobar
MYSQL_USER: laravel
MYSQL_PASSWORD: laravel
MYSQL_DATABASE: sypian_manager
adminer:
image: adminer
restart: always
ports:
- 8080:8080