-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·51 lines (47 loc) · 1.33 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
version: '3'
services:
mysql:
image: mysql:8.0.3
command: mysqld --character-set-server=utf8 --collation-server=utf8_unicode_ci
ports:
- "3306:3306"
environment:
MYSQL_DATABASE: cactacea
MYSQL_USER: cactacea
MYSQL_PASSWORD: cactacea
MYSQL_ROOT_PASSWORD: root
localstack:
image: localstack/localstack
ports:
- "4567-4584:4567-4584"
- "${PORT_WEB_UI-8080}:${PORT_WEB_UI-8080}"
environment:
- SERVICES=${SERVICES- }
- DEBUG=${DEBUG- }
- DATA_DIR=${DATA_DIR- }
- PORT_WEB_UI=${PORT_WEB_UI- }
- LAMBDA_EXECUTOR=${LAMBDA_EXECUTOR- }
- KINESIS_ERROR_PROBABILITY=${KINESIS_ERROR_PROBABILITY- }
- DOCKER_HOST=unix:///var/run/docker.sock
volumes:
- "${TMPDIR:-/tmp/localstack}:/tmp/localstack"
- "/var/run/docker.sock:/var/run/docker.sock"
redis:
image: redis:4.0.5-alpine
command: ["redis-server", "--appendonly", "yes"]
hostname: redis
cactacea_chat:
image: cactacea/chat
ports:
- "14000:14000"
cactacea_api:
image: cactacea/api
depends_on:
- mysql
environment:
CACTACEA_MASTER_DB_NAME: cactacea
CACTACEA_MASTER_DB_USERNAME: cactacea
CACTACEA_MASTER_DB_PASSWORD: cactacea
CACTACEA_MASTER_DB_DEST: docker.for.mac.host.internal:3306
ports:
- "9000:9000"