Files
home-server-docker/docker-compose.yml
2024-02-17 15:09:11 +01:00

61 lines
1.9 KiB
YAML

# center docker-compose file
# see https://github.com/labmonkey/docker-compose-project-example for more info
# Here I will include all "child" docker compose files that I need.
# The paths can relative to this file or absolue. I've used INCLUDE_PATH variable to make it more cofigurable.
# Whenever I need to remove some service then I can comment out the lines here.
include:
- path:
- ${DB_PATH}/adminer/adminer.yml
- ${DB_PATH}/lldap/lldap.yml
- ${DB_PATH}/mariadb/mariadb.yml
- ${DB_PATH}/postgres/postgres.yml
- ${DB_PATH}/pgadmin/pgadmin.yml
- ${DB_PATH}/redis/redis.yml
env_file: ${DB_PATH}/.env
- path:
- ${INFRA_PATH}/authelia/authelia.yml
- ${INFRA_PATH}/crowdsec/crowdsec.yml
- ${INFRA_PATH}/homepage/homepage.yml
- ${INFRA_PATH}/speedtest/speedtest.yml
- ${INFRA_PATH}/syncthing/syncthing.yml
- ${INFRA_PATH}/traefik/traefik.yml
- ${INFRA_PATH}/uptime-kuma/uptime-kuma.yml
- ${INFRA_PATH}/watchtower/watchtower.yml
env_file: ${INFRA_PATH}/.env
- path:
- ${MONITORING_PATH}/dozzle/dozzle.yml
- ${MONITORING_PATH}/grafana/grafana.yml
- ${MONITORING_PATH}/prometheus/prometheus.yml
env_file: ${MONITORING_PATH}/.env
- path:
- ${MEDIA_PATH}/immich/immich.yml
env_file: ${MEDIA_PATH}/.env
- path:
- ${SERVICE_PATH}/gitea/gitea.yml
- ${SERVICE_PATH}/it-tools/it-tools.yml
- ${SERVICE_PATH}/mealie/mealie.yml
- ${SERVICE_PATH}/shlink/shlink.yml
- ${SERVICE_PATH}/stirling-pdf/stirling-pdf.yml
- ${SERVICE_PATH}/vikunja/vikunja.yml
env_file: ${SERVICE_PATH}/.env
networks:
private:
driver: bridge
name: private
ipam:
config:
- subnet: 10.5.0.0/16
gateway: 10.5.0.1
public:
driver: bridge
name: public
ipam:
config:
- subnet: 10.6.0.0/16
gateway: 10.6.0.1