Skip to content

Instantly share code, notes, and snippets.

@fvanderbiest
Created March 11, 2019 21:17
Show Gist options
  • Save fvanderbiest/b0f51ebf087e447604c7c7ceba2ef361 to your computer and use it in GitHub Desktop.
Save fvanderbiest/b0f51ebf087e447604c7c7ceba2ef361 to your computer and use it in GitHub Desktop.
redmine on postgresql
version: "3"
volumes:
redmine_files:
postgresql_data:
services:
redmine:
image: redmine:4.0
restart: always
volumes:
- redmine_files:/usr/src/redmine/files
ports:
- 8000:3000
environment:
REDMINE_DB_POSTGRESQL: db
REDMINE_DB_USERNAME: redmine
REDMINE_DB_PASSWORD: blah
db:
image: postgres:11
restart: always
environment:
POSTGRESQL_DATABASE: redmine
POSTGRES_USER: redmine
POSTGRES_PASSWORD: blah
volumes:
- postgresql_data:/var/lib/postgresql/data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment