-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 1.11 KB
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
version: "3"
services:
rfcsynchronizer:
image: botvy/rfc-synchronizer
build: .
container_name: rfc-synchronizer
depends_on:
- database
environment:
GH_TOKEN: my-github-token
DB_HOST: localhost
DB_PORT: 3306
DB_USER: root
DB_PASS: ""
DB_NAME: rfc_synchronizer
rfcsynchronizer-dev:
image: botvy/rfc-synchronizer:dev
build:
context: .
dockerfile: dev.Dockerfile
container_name: rfc-synchronizer
depends_on:
- database
environment:
GH_TOKEN: my-github-token
DB_HOST: database
DB_PORT: 3306
DB_USER: root
DB_PASS: root
DB_NAME: rfc_synchronizer
LOG_LEVEL: debug
volumes:
- "./src:/app/src"
- "./node_modules:/app/node_modules"
database:
image: library/mysql:5.7.30
container_name: database
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: rfc_synchronizer