docker-compose.yml

Andrea Valle, 2020-11-11 09:02

Download (664 Bytes)

 
1
version: '2'
2
services:
3
  mariadb:
4
    image: 'docker.io/bitnami/mariadb:10.3-debian-10'
5
    environment:
6
      - ALLOW_EMPTY_PASSWORD=yes
7
      - MARIADB_USER=redmine
8
      - MARIADB_DATABASE=redmine_production
9
    volumes:
10
      - mariadb_data:/bitnami
11
  redmine:
12
    image: 'docker.io/bitnami/redmine:4-debian-10'
13
    environment:
14
      - REDMINE_USERNAME=admin
15
      - REDMINE_PASSWORD=admin
16
      - REDMINE_DB_USERNAME=redmine
17
      - REDMINE_DB_NAME=redmine_production
18
    ports:
19
      - '10084:3000'
20
    volumes:
21
      - redmine_data:/bitnami
22
    depends_on:
23
      - mariadb
24
volumes:
25
  mariadb_data:
26
    driver: local
27
    redmine_data:
28
      driver: local
29