diff --git a/compose.yaml b/compose.yaml new file mode 100755 index 0000000..4ad062e --- /dev/null +++ b/compose.yaml @@ -0,0 +1,74 @@ +--- +networks: + net: + driver: 'bridge' + +services: + nginx: + container_name: 'nginx' + image: 'jc21/nginx-proxy-manager' + restart: 'unless-stopped' + networks: + net: + aliases: [] + ports: + - 80:80 + - 81:81 + - 443:443 + volumes: + - ./data/nginx-proxy-manager/data:/data + - ./data/nginx-proxy-manager/letsencrypt:/etc/letsencrypt + - ./data/nginx/snippets:/snippets + environment: + TZ: 'Europe/Stockholm' + DB_POSTGRES_HOST: 'db' + DB_POSTGRES_PORT: '5432' + DB_POSTGRES_USER: 'npm' + DB_POSTGRES_PASSWORD: 'npmpass' + DB_POSTGRES_NAME: 'npm' + # Uncomment this if IPv6 is not enabled on your host + # DISABLE_IPV6: 'true' + depends_on: + - db + db: + image: postgres:16 + environment: + POSTGRES_USER: 'npm' + POSTGRES_PASSWORD: 'npmpass' + POSTGRES_DB: 'npm' + volumes: + - ./data/postgres:/var/lib/postgresql/data + authelia: + container_name: 'authelia' + image: 'authelia/authelia' + restart: 'unless-stopped' + networks: + net: + aliases: [] + volumes: + - ./data/authelia/config:/config + environment: + TZ: 'Europe/Stockholm' +# nextcloud: +# container_name: 'nextcloud' +# image: 'lscr.io/linuxserver/nextcloud' +# restart: 'unless-stopped' +# networks: +# net: +# aliases: [] +# volumes: +# - '${PWD}/data/nextcloud/config:/config' +# - '${PWD}/data/nextcloud/data:/data' +# environment: +# PUID: '1000' +# PGID: '1000' +# TZ: 'Europe/Stockholm' + whoami: + container_name: 'whoami' + image: 'docker.io/traefik/whoami' + restart: 'unless-stopped' + networks: + net: + aliases: [] + environment: + TZ: 'Europe/Stockholm' \ No newline at end of file