add redmine + fix wordpress networks
This commit is contained in:
34
redmine/docker-compose.yml
Normal file
34
redmine/docker-compose.yml
Normal file
@@ -0,0 +1,34 @@
|
||||
version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
redmine:
|
||||
image: redmine:${REDMINE_VERSION:-latest}
|
||||
restart: always
|
||||
environment:
|
||||
REDMINE_DB_MYSQL: ${REDMINE_DB_MYSQL}
|
||||
REDMINE_DB_PASSWORD: ${REDMINE_DB_PASSWORD}
|
||||
volumes:
|
||||
- redmine_data:/usr/src/redmine/files
|
||||
networks:
|
||||
- traefik_web
|
||||
- default
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=traefik_web
|
||||
- traefik.http.routers.${APP_HOST//./-}-router.entrypoints=${ENTRYPOINT}
|
||||
- traefik.http.routers.${APP_HOST//./-}-router.rule=Host(`${APP_HOST}`)
|
||||
- traefik.http.routers.${APP_HOST//./-}-router.tls=true
|
||||
db:
|
||||
image: mysql:${version}
|
||||
restart: always
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: ${REDMINE_DB_PASSWORD}
|
||||
MYSQL_DATABASE: ${REDMINE_DB_MYSQL}
|
||||
volumes:
|
||||
redmine_data:
|
||||
|
||||
# Specific for traefik
|
||||
networks:
|
||||
traefik_web:
|
||||
external: true
|
||||
Reference in New Issue
Block a user