-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
42 lines (40 loc) · 1.01 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
version: '3.1'
services:
tests:
image: cimg/node:20.9
entrypoint: /bin/bash
tty: true
environment:
- LOCALSTACK_HOST=localstack
env_file:
- .docker/local.env
volumes:
- ./:/app
localstack:
image: localstack/localstack:1.3.1
env_file:
- .docker/local.env
ports:
- '4566:4566'
volumes:
- ./.docker/localstack:/docker-entrypoint-initaws.d
environment:
- LOCALSTACK_API_KEY=${LOCALSTACK_API_KEY}
- DEBUG=1
- SERVICES=dynamodb
- DATA_DIR=/tmp/localstack/data
- DOCKER_HOST=unix:///var/run/docker.sock
- EXTRA_CORS_ALLOWED_HEADERS=Content-Disposition, Content-Type, x-amz-acl
- EXTRA_CORS_EXPOSE_HEADERS=ETag
- HOSTNAME_EXTERNAL=localstack
mysql:
image: mysql:5.6
env_file:
- ./.docker/local.env
ports:
- '3310:3306'
volumes:
- .docker/mysql/schema:/docker-entrypoint-initdb.d:delegated
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=yes
- TZ=US/Central