Update test data
This commit is contained in:
parent
35ed26468f
commit
0faa446178
@ -1,72 +1,83 @@
|
|||||||
version: '3'
|
version: '2.4'
|
||||||
volumes:
|
|
||||||
certs:
|
|
||||||
html:
|
|
||||||
vhostd:
|
|
||||||
networks:
|
networks:
|
||||||
|
default:
|
||||||
nextcloud:
|
nextcloud:
|
||||||
mariadb:
|
mariadb:
|
||||||
|
traefik:
|
||||||
services:
|
services:
|
||||||
nginx-proxy:
|
traefik:
|
||||||
container_name: nginx-proxy
|
container_name: traefik
|
||||||
image: jwilder/nginx-proxy:alpine
|
image: traefik:2.6
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 80:80
|
- "[::]:80:80"
|
||||||
- 443:443
|
- "[::]:443:443"
|
||||||
environment:
|
|
||||||
- HSTS=max-age=31536000; includeSubDomains; preload
|
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
|
command:
|
||||||
|
- "--log.level=INFO"
|
||||||
|
- "--providers.docker=true"
|
||||||
|
- "--providers.docker.exposedbydefault=false"
|
||||||
|
- "--providers.docker.endpoint=tcp://dockerproxy:2375"
|
||||||
|
- "--entrypoints.web.address=:80"
|
||||||
|
- "--entrypoints.web.http.redirections.entrypoint.to=websecure"
|
||||||
|
- "--entrypoints.web.http.redirections.entrypoint.scheme=https"
|
||||||
|
- "--entrypoints.websecure.address=:443"
|
||||||
|
- "--entrypoints.websecure.http.tls.options=mintls13@file"
|
||||||
|
- "--entrypoints.websecure.http.tls.certResolver=le"
|
||||||
|
- "--certificatesresolvers.le.acme.httpchallenge=true"
|
||||||
|
- "--certificatesresolvers.le.acme.httpchallenge.entrypoint=web"
|
||||||
|
- "--certificatesresolvers.le.acme.email=faerbit@posteo.net"
|
||||||
|
- "--certificatesresolvers.le.acme.storage=/certs/acme.json"
|
||||||
|
- "--providers.file.directory=/config/"
|
||||||
|
- "--providers.file.watch=true"
|
||||||
|
networks:
|
||||||
|
- default
|
||||||
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
- certs:/etc/nginx/certs
|
- /docker/traefik/certs:/certs
|
||||||
- html:/usr/share/nginx/html
|
- /docker/traefik/config:/config
|
||||||
- vhostd:/etc/nginx/vhost.d
|
depends_on:
|
||||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
- dockerproxy
|
||||||
#- /docker/nextcloud/nginx-proxy.conf.hack:/etc/nginx/vhost.d/nc.faerb.it:ro
|
|
||||||
- /docker/nextcloud/nginx-proxy.conf:/etc/nginx/vhost.d/nc.faerb.it:ro
|
|
||||||
|
|
||||||
letsencrypt:
|
dockerproxy:
|
||||||
container_name: letsencrypt
|
container_name: dockerproxy
|
||||||
image: jrcs/letsencrypt-nginx-proxy-companion
|
build: /docker/dockerproxy
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
|
||||||
- NGINX_PROXY_CONTAINER=nginx-proxy
|
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
|
environment:
|
||||||
|
- CONTAINERS=1
|
||||||
|
networks:
|
||||||
|
- traefik
|
||||||
volumes:
|
volumes:
|
||||||
- certs:/etc/nginx/certs
|
|
||||||
- html:/usr/share/nginx/html
|
|
||||||
- vhostd:/etc/nginx/vhost.d
|
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
|
||||||
nginx-page:
|
nginx-page:
|
||||||
container_name: nginx-page
|
container_name: nginx-page
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
|
||||||
- VIRTUAL_PROTO=http
|
|
||||||
- VIRTUAL_HOST=faerb.it
|
|
||||||
- LETSENCRYPT_HOST=faerb.it
|
|
||||||
- LETSENCRYPT_EMAIL=faerbit@posteo.net
|
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.page.rule=Host(`faerb.it`)"
|
||||||
|
- "traefik.http.routers.page.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.page.middlewares=security_headers@file,default_csp@file"
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/page:/usr/share/nginx/html:ro
|
- /docker/page:/usr/share/nginx/html:ro
|
||||||
networks:
|
|
||||||
- default
|
|
||||||
|
|
||||||
nginx-nextcloud:
|
nginx-nextcloud:
|
||||||
container_name: nginx-nextcloud
|
container_name: nginx-nextcloud
|
||||||
image: nginx:alpine
|
image: nginx:alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
|
||||||
- VIRTUAL_PROTO=http
|
|
||||||
- VIRTUAL_HOST=nc.faerb.it
|
|
||||||
- LETSENCRYPT_HOST=nc.faerb.it
|
|
||||||
- LETSENCRYPT_EMAIL=faerbit@posteo.net
|
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.nextcloud.rule=Host(`nc.faerb.it`)"
|
||||||
|
- "traefik.http.routers.nextcloud.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.nextcloud.middlewares=security_headers@file"
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro
|
- /docker/nextcloud/nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
- /docker/nextcloud/html:/var/www/html:ro
|
- /docker/nextcloud/html:/var/www/html:ro
|
||||||
@ -78,7 +89,7 @@ services:
|
|||||||
|
|
||||||
nextcloud:
|
nextcloud:
|
||||||
container_name: nextcloud
|
container_name: nextcloud
|
||||||
image: library/nextcloud:21.0.1-fpm-alpine
|
image: library/nextcloud:23.0.2-fpm-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- /docker/mariadb/mariadb.env
|
- /docker/mariadb/mariadb.env
|
||||||
@ -97,7 +108,7 @@ services:
|
|||||||
|
|
||||||
nc-cron:
|
nc-cron:
|
||||||
container_name: nc-cron
|
container_name: nc-cron
|
||||||
image: library/nextcloud:21.0.1-fpm-alpine
|
image: library/nextcloud:23.0.2-fpm-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
@ -113,10 +124,8 @@ services:
|
|||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
container_name: mariadb
|
container_name: mariadb
|
||||||
image: mariadb:10.5
|
image: library/mariadb:10.8
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
|
||||||
- 127.0.0.1:3306:3306
|
|
||||||
env_file:
|
env_file:
|
||||||
- /docker/mariadb/mariadb.env
|
- /docker/mariadb/mariadb.env
|
||||||
logging:
|
logging:
|
||||||
@ -129,7 +138,7 @@ services:
|
|||||||
|
|
||||||
redis:
|
redis:
|
||||||
container_name: redis
|
container_name: redis
|
||||||
image: library/redis:6-alpine
|
image: redis:6-alpine
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
logging:
|
logging:
|
||||||
driver: journald
|
driver: journald
|
||||||
@ -138,26 +147,28 @@ services:
|
|||||||
|
|
||||||
gitea:
|
gitea:
|
||||||
container_name: gitea
|
container_name: gitea
|
||||||
image: gitea/gitea:1.13
|
image: gitea/gitea:1.16
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 22:22
|
- "[::]:22:22"
|
||||||
env_file:
|
env_file:
|
||||||
- /docker/mariadb/gitea.env
|
- /docker/mariadb/gitea.env
|
||||||
- /docker/gitea/gitea.env
|
- /docker/gitea/gitea.env
|
||||||
|
logging:
|
||||||
|
driver: journald
|
||||||
environment:
|
environment:
|
||||||
- VIRTUAL_HOST=git.faerb.it
|
|
||||||
- VIRTUAL_PORT=3000
|
|
||||||
- LETSENCRYPT_HOST=git.faerb.it
|
|
||||||
- LETSENCRYPT_EMAIL=faerbit@posteo.net
|
|
||||||
- SSH_DOMAIN=git.faerb.it
|
- SSH_DOMAIN=git.faerb.it
|
||||||
- ROOT_URL=git.faerb.it
|
- ROOT_URL=git.faerb.it
|
||||||
- DB_TYPE=mysql
|
- DB_TYPE=mysql
|
||||||
- DB_HOST=mariadb:3306
|
- DB_HOST=mariadb:3306
|
||||||
- RUN_MODE=prod
|
- RUN_MODE=prod
|
||||||
- DISABLE_REGISTRATION=true
|
- DISABLE_REGISTRATION=true
|
||||||
logging:
|
labels:
|
||||||
driver: journald
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.gitea.rule=Host(`git.faerb.it`)"
|
||||||
|
- "traefik.http.routers.gitea.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.gitea.middlewares=security_headers@file,gitea_csp@file"
|
||||||
|
- "traefik.http.services.gitea-http.loadbalancer.server.port=3000"
|
||||||
volumes:
|
volumes:
|
||||||
- /docker/gitea/data:/data
|
- /docker/gitea/data:/data
|
||||||
networks:
|
networks:
|
||||||
@ -165,27 +176,3 @@ services:
|
|||||||
- mariadb
|
- mariadb
|
||||||
depends_on:
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
|
||||||
immoscrape:
|
|
||||||
container_name: immoscrape
|
|
||||||
image: registry.gitlab.com/faerbit/immoscrape:main
|
|
||||||
restart: unless-stopped
|
|
||||||
env_file:
|
|
||||||
- /docker/mariadb/immoscrape.env
|
|
||||||
environment:
|
|
||||||
- VIRTUAL_HOST=ims.faerb.it
|
|
||||||
- VIRTUAL_PROTO=uwsgi
|
|
||||||
- VIRTUAL_PORT=3000
|
|
||||||
- LETSENCRYPT_HOST=ims.faerb.it
|
|
||||||
- LETSENCRYPT_EMAIL=faerbit@posteo.net
|
|
||||||
- IMMOSCRAPE_TELEGRAM_SEND_CONFIG_PATH=/app/config/telegram-send.conf
|
|
||||||
logging:
|
|
||||||
driver: journald
|
|
||||||
volumes:
|
|
||||||
- /docker/immoscrape/telegram-send.conf:/app/config/telegram-send.conf
|
|
||||||
- /etc/localtime:/etc/localtime:ro
|
|
||||||
networks:
|
|
||||||
- default
|
|
||||||
- mariadb
|
|
||||||
depends_on:
|
|
||||||
- mariadb
|
|
||||||
|
Loading…
Reference in New Issue
Block a user