edec0d0ca4
* feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
67 lines
2.3 KiB
YAML
67 lines
2.3 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
romm:
|
|
image: zurdi15/romm:1.8.4
|
|
container_name: romm
|
|
environment:
|
|
- ROMM_DB_DRIVER=mariadb
|
|
- DB_HOST=romm-db
|
|
- DB_PORT=3306
|
|
- DB_USER=tipi
|
|
- DB_NAME=romm
|
|
- DB_PASSWD=${ROMM_MYSQL_PASSWORD}
|
|
- CLIENT_ID=${ROMM_IGDB_CLIENT_ID}
|
|
- CLIENT_SECRET=${ROMM_IGDB_CLIENT_SECRET}
|
|
- STEAMGRIDDB_API_KEY="${ROMM_STEAMGRIDDB_API_KEY}"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ${ROOT_FOLDER_HOST}/media/data/roms:/romm/library
|
|
- ${APP_DATA_DIR}/data/romm-resources:/romm/resources
|
|
- ${APP_DATA_DIR}/data/config.yml:/romm/config.yml
|
|
ports:
|
|
- ${APP_PORT}:80
|
|
depends_on:
|
|
- romm-db
|
|
networks:
|
|
- tipi_main_network
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.romm-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.romm.loadbalancer.server.port: 80
|
|
# Web
|
|
traefik.http.routers.romm-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.romm-insecure.entrypoints: web
|
|
traefik.http.routers.romm-insecure.service: romm
|
|
traefik.http.routers.romm-insecure.middlewares: romm-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.romm.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.romm.entrypoints: websecure
|
|
traefik.http.routers.romm.service: romm
|
|
traefik.http.routers.romm.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.romm-local-insecure.rule: Host(`romm.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.romm-local-insecure.entrypoints: web
|
|
traefik.http.routers.romm-local-insecure.service: romm
|
|
traefik.http.routers.romm-local-insecure.middlewares: romm-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.romm-local.rule: Host(`romm.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.romm-local.entrypoints: websecure
|
|
traefik.http.routers.romm-local.service: romm
|
|
traefik.http.routers.romm-local.tls: true
|
|
|
|
romm-db:
|
|
image: lscr.io/linuxserver/mariadb:latest
|
|
container_name: romm-db
|
|
environment:
|
|
- MYSQL_ROOT_PASSWORD=${ROMM_MYSQL_PASSWORD}
|
|
- MYSQL_DATABASE=romm
|
|
- MYSQL_USER=tipi
|
|
- MYSQL_PASSWORD=${ROMM_MYSQL_PASSWORD}
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/mysql/config:/config
|
|
restart: "unless-stopped"
|
|
networks:
|
|
- tipi_main_network
|