forked from common-voice/common-voice
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
39 lines (38 loc) · 818 Bytes
/
docker-compose.yaml
File metadata and controls
39 lines (38 loc) · 818 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
version: '3'
services:
db:
image: mysql:5.6.39
networks:
- voice-web
container_name: db
restart: unless-stopped
environment:
- MYSQL_DATABASE=voiceweb
- MYSQL_USER=voicecommons
- MYSQL_PASSWORD=voicecommons
- MYSQL_ROOT_PASSWORD=voicewebroot
s3proxy:
image: andrewgaul/s3proxy
container_name: s3proxy
networks:
- voice-web
environment:
- S3PROXY_AUTHORIZATION=none
web:
build:
context: .
dockerfile: docker/Dockerfile
container_name: web
links:
- db
volumes:
- .:/code
environment:
- DOTENV_CONFIG_PATH=/code/.env-local-docker
networks:
- voice-web
ports:
- 9000:9000
command: bash -c "/code/docker/prepare_s3.sh && yarn && yarn start"
networks:
voice-web: