-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.example.yml
44 lines (42 loc) · 1.05 KB
/
docker-compose.example.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
version: '3'
services:
app:
image: happychild
command: >
bash -c "sleep 20s
&& ./run_develop.sh"
ports:
- "8000:8000"
environment:
ENV: DEVELOP
MYSQL_USR: root
MYSQL_HOST: mysql
MYSQL_PASSWORD: ""
MYSQL_DATABASE: happychild
ZENDESK_TOKEN:
ZENDESK_EMAIL:
ZENDESK_SUBDOMAIN:
volumes:
- ./happychild:/usr/src/app/happychild
- ./infrastructure:/usr/src/app/infrastructure
- ./services:/usr/src/app/services
- ./static:/usr/src/app/static
- ./templates:/usr/src/app/templates
- ./views:/usr/src/app/views
- ~/.aws:/root/.aws
- ~/.ssh:/root/.ssh
depends_on:
- mysql
mysql:
image: mysql:5.7
command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
environment:
MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
MYSQL_DATABASE: happychild
MYSQL_USER: "root"
MYSQL_PASSWORD: ""
ports:
- "3306:3306"
volumes:
- ./fixtures:/docker-entrypoint-initdb.d
- ~/.my.cnf:/etc/mysql/conf.d/my.cnf