Last active
June 5, 2019 11:38
-
-
Save fabienheureux/6abf18a3a1644ec9f17e35da7e1e7ee5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
portainer | |
image: portainer/portainer:latest | |
ports: | |
- 9000:9000 | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock | |
- portainer_data:/data portainer/portainer | |
postgres: | |
image: postgres:latest | |
restart: always | |
networks: | |
- redmine | |
volumes: | |
- postgres-data:/var/lib/postgresql/data | |
environment: | |
- 'POSTGRES_PASSWORD=password' | |
- 'POSTGRES_DB=redmine' | |
redmine: | |
image: redmine:latest | |
restart: always | |
networks: | |
- redmine | |
volumes: | |
- redmine-data:/usr/src/redmine/files | |
ports: | |
- 80:3000 | |
environment: | |
- 'REDMINE_DB_POSTGRES=postgres' | |
- 'REDMINE_DB_DATABASE=redmine' | |
- 'REDMINE_DB_PASSWORD=password' | |
volumes: | |
postgres-data: | |
redmine-data: | |
networks: | |
redmine: | |
driver: bridge |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment