Added compose
This commit is contained in:
parent
807a6d1fe6
commit
00ed432921
74
compose.yaml
Executable file
74
compose.yaml
Executable file
@ -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'
|
Loading…
Reference in New Issue
Block a user