-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
52 lines (46 loc) · 1.05 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
52
version: '3'
services:
redmine:
# Image source: https://hub.docker.com/_/redmine/
container_name: redmine
build:
context: .
dockerfile: containers/redmine/Dockerfile
ports:
- "3000:3000"
environment:
REDMINE_DB_MYSQL: db
REDMINE_DB_USERNAME: redmineu
REDMINE_DB_PASSWORD: redminep
REDMINE_DB_DATABASE: redmined
volumes:
- "redmine_data:/usr/share/redmine"
db:
container_name: db
# Image source: https://hub.docker.com/_/mariadb/
image: "mariadb:10.4"
restart: always
ports:
- 3306
environment:
MYSQL_ROOT_PASSWORD: rootp
MYSQL_USER: redmineu
MYSQL_PASSWORD: redminep
MYSQL_DATABASE: redmined
volumes:
- "mysql_data:/var/lib/mysql"
migrate:
container_name: migrate
# Image source: https://hub.docker.com/_/python/
image: "python:3"
restart: always
build:
context: containers/migrate
dockerfile: Dockerfile
volumes:
- ./containers/migrate:/usr/src/app
volumes:
redmine_data:
driver: local
mysql_data:
driver: local