mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
Split adminer and wordpress
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
2eaaf1f936
commit
7231d29b91
19
docker-compose.adminer.yml
Normal file
19
docker-compose.adminer.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
version: '3.9'
|
||||||
|
|
||||||
|
services:
|
||||||
|
# Adminer
|
||||||
|
adminer:
|
||||||
|
image: adminer:latest
|
||||||
|
container_name: adminer
|
||||||
|
profiles:
|
||||||
|
- adminer
|
||||||
|
restart: on-failure
|
||||||
|
env_file:
|
||||||
|
- env/adminer.env
|
||||||
|
depends_on:
|
||||||
|
- wordpress_db
|
||||||
|
- caddy
|
||||||
|
networks:
|
||||||
|
- infra-network
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
@ -12,9 +12,19 @@ services:
|
|||||||
- env/backup.env
|
- env/backup.env
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
- backup:/archive
|
||||||
- caddy_data:/backup/caddy_data:ro
|
- caddy_data:/backup/caddy_data:ro
|
||||||
- caddy_config:/backup/caddy_config:ro
|
- caddy_config:/backup/caddy_config:ro
|
||||||
- backup:/archive
|
# - gitea_data:/backup/gitea_data:ro
|
||||||
|
# - gitea_config:/backup/gitea_config:ro
|
||||||
|
# - database:/backup/database:ro
|
||||||
|
# - wordpress:/backup/wordpress:ro
|
||||||
|
# - jellyfin_config:/backup/jellyfin_config:ro
|
||||||
|
# - jellyfin_data:/backup/jellyfin_data:ro
|
||||||
|
# - jellyfin_cache:/backup/jellyfin_cache:ro
|
||||||
|
# - qbittorrent_config:/backup/qbittorrent_config:ro
|
||||||
|
# - qbittorrent_data:/backup/qbittorrent_data:ro
|
||||||
|
# - uptimekuma_data:/backup/uptimekuma_data:ro
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
security_opt:
|
security_opt:
|
||||||
|
@ -41,23 +41,6 @@ services:
|
|||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|
||||||
# Adminer
|
|
||||||
adminer:
|
|
||||||
image: adminer:latest
|
|
||||||
container_name: adminer
|
|
||||||
profiles:
|
|
||||||
- adminer
|
|
||||||
restart: on-failure
|
|
||||||
env_file:
|
|
||||||
- env/adminer.env
|
|
||||||
depends_on:
|
|
||||||
- wordpress_db
|
|
||||||
- caddy
|
|
||||||
networks:
|
|
||||||
- infra-network
|
|
||||||
security_opt:
|
|
||||||
- no-new-privileges:true
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database:
|
database:
|
||||||
name: database
|
name: database
|
||||||
|
Loading…
Reference in New Issue
Block a user