-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
55 lines (50 loc) · 1.11 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
version: '3.7'
networks:
a6s:
name: a6s
driver: bridge
services:
nginx:
container_name: grouscope_nginx
image:
a6scloud/grouscope-nginx:${NGINX_IMAGE_TAG}
ports:
- "${NGINX_BIND_PORT}:80"
networks:
- a6s
depends_on:
- laravel
laravel:
container_name: grouscope_laravel
image:
a6scloud/grouscope-laravel:${LARAVEL_IMAGE_TAG}
environment:
- DB_HOST=grouscope_mysql
- DB_DATABASE=a6s_cloud
- DB_USERNAME=default
- DB_PASSWORD=secret
- CONSUMER_KEY=${CONSUMER_KEY}
- CONSUMER_SECRET=${CONSUMER_SECRET}
- ACCESS_TOKEN=${ACCESS_TOKEN}
- ACCESS_TOKEN_SECRET=${ACCESS_TOKEN_SECRET}
volumes:
- ./:/var/www/html
networks:
- a6s
depends_on:
- mysql
mysql:
container_name: grouscope_mysql
networks:
a6s:
- mysql
image:
mysql:${MYSQL_IMAGE_TAG}
ports:
- ${MYSQL_BIND_PORT}:3306
environment:
- MYSQL_ROOT_PASSWORD=secret
volumes:
- ./docker/mysql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
networks:
- a6s