Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.3'
- services:
- postgres:
- image: postgres:10
- volumes:
- - ./storage/postgresql-data:/var/lib/postgresql/data
- environment:
- POSTGRES_PASSWORD: "strong_pass"
- POSTGRES_DB: "redmine"
- PGDATA: "/var/lib/postgresql/data"
- restart: always
- redmine:
- build:
- context: .
- image: redmine:custom
- ports:
- - 80:3000
- volumes:
- - ./storage/docker_redmine-plugins:/usr/src/redmine/plugins
- - ./storage/docker_redmine-themes:/usr/src/redmine/public/themes
- - ./storage/docker_redmine-data:/usr/src/redmine/files
- - ./storage/configuration.yml:/usr/src/redmine/config/configuration.yml:ro
- environment:
- REDMINE_DB_POSTGRES: "postgres"
- REDMINE_DB_USERNAME: "postgres"
- REDMINE_DB_PASSWORD: "strong_pass"
- REDMINE_DB_DATABASE: "redmine"
- REDMINE_SECRET_KEY_BASE: "…"
- restart: always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement