mirror of
https://github.com/guezoloic/serverconfig.git
synced 2026-01-25 10:34:23 +00:00
refactor(./docker-compose.yml): rewrite some docker-compose parts
This commit is contained in:
@@ -5,14 +5,14 @@ volumes:
|
||||
name: grafana-volume
|
||||
certs-volume:
|
||||
name: certs-volume
|
||||
acme-volume: # save certifcates
|
||||
acme-volume: # save certifcates
|
||||
name: acme-volume
|
||||
|
||||
services:
|
||||
backup:
|
||||
# --------------------------------
|
||||
# Auto backup through S3
|
||||
# --------------------------------
|
||||
# --------------------------------
|
||||
# Auto backup through S3
|
||||
# --------------------------------
|
||||
image: offen/docker-volume-backup
|
||||
container_name: backup-container
|
||||
restart: unless-stopped
|
||||
@@ -29,9 +29,9 @@ services:
|
||||
- certs-volume:/backup/certs:ro
|
||||
- acme-volume:/backup/acme:ro
|
||||
|
||||
# --------------------------------
|
||||
# Auto update containers
|
||||
# --------------------------------
|
||||
# --------------------------------
|
||||
# Auto update containers
|
||||
# --------------------------------
|
||||
watchtower:
|
||||
image: containrrr/watchtower
|
||||
container_name: watchtower
|
||||
@@ -39,9 +39,9 @@ services:
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
# --------------------------------
|
||||
# ACME Companion for SSL certs
|
||||
# --------------------------------
|
||||
# --------------------------------
|
||||
# ACME Companion for SSL certs
|
||||
# --------------------------------
|
||||
acme-companion:
|
||||
image: nginxproxy/acme-companion
|
||||
container_name: acme-companion
|
||||
@@ -62,9 +62,9 @@ services:
|
||||
depends_on:
|
||||
- nginx-proxy
|
||||
|
||||
# --------------------------------
|
||||
# Reverse Proxy
|
||||
# --------------------------------
|
||||
# --------------------------------
|
||||
# Reverse Proxy
|
||||
# --------------------------------
|
||||
nginx-proxy:
|
||||
image: nginxproxy/nginx-proxy:alpine
|
||||
container_name: nginx-proxy
|
||||
@@ -82,9 +82,9 @@ services:
|
||||
networks:
|
||||
- proxy-network
|
||||
|
||||
# --------------------------------
|
||||
# Website
|
||||
# --------------------------------
|
||||
# --------------------------------
|
||||
# Website
|
||||
# --------------------------------
|
||||
web:
|
||||
build: ./guezoloic/website # using guezoloic website repo
|
||||
container_name: guezoloic-web
|
||||
@@ -100,9 +100,9 @@ services:
|
||||
depends_on:
|
||||
- nginx-proxy
|
||||
|
||||
# --------------------------------
|
||||
# VPN Wireguard
|
||||
# --------------------------------
|
||||
# --------------------------------
|
||||
# VPN Wireguard
|
||||
# --------------------------------
|
||||
wg-easy:
|
||||
image: ghcr.io/wg-easy/wg-easy:15
|
||||
container_name: wg-easy
|
||||
@@ -136,9 +136,9 @@ services:
|
||||
depends_on:
|
||||
- nginx-proxy
|
||||
|
||||
# --------------------------------
|
||||
# Monitoring Prometheus
|
||||
# --------------------------------
|
||||
# --------------------------------
|
||||
# Monitoring Prometheus
|
||||
# --------------------------------
|
||||
prometheus:
|
||||
image: prom/prometheus:latest
|
||||
container_name: prometheus
|
||||
|
||||
Reference in New Issue
Block a user