mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 16:54:26 +01:00
Update wordpress db
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
817d09683b
commit
9110cfec89
@ -29,6 +29,9 @@ www.bensuperpc.org {
|
|||||||
|
|
||||||
# clickjacking protection
|
# clickjacking protection
|
||||||
X-Frame-Options DENY
|
X-Frame-Options DENY
|
||||||
|
|
||||||
|
# Disable powerful features we don't need
|
||||||
|
Permissions-Policy "geolocation=(), camera=(), microphone=() interest-cohort=()"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ services:
|
|||||||
- caddy_config:/backup/caddy_config:ro
|
- caddy_config:/backup/caddy_config:ro
|
||||||
# - gitea_data:/backup/gitea_data:ro
|
# - gitea_data:/backup/gitea_data:ro
|
||||||
# - gitea_config:/backup/gitea_config:ro
|
# - gitea_config:/backup/gitea_config:ro
|
||||||
# - database:/backup/database:ro
|
# - wordpress_db:/backup/wordpress_db:ro
|
||||||
# - wordpress:/backup/wordpress:ro
|
# - wordpress:/backup/wordpress:ro
|
||||||
# - jellyfin_config:/backup/jellyfin_config:ro
|
# - jellyfin_config:/backup/jellyfin_config:ro
|
||||||
# - jellyfin_data:/backup/jellyfin_data:ro
|
# - jellyfin_data:/backup/jellyfin_data:ro
|
||||||
|
@ -18,6 +18,10 @@ services:
|
|||||||
- ./caddy:/etc/caddy:ro
|
- ./caddy:/etc/caddy:ro
|
||||||
networks:
|
networks:
|
||||||
- infra-network
|
- infra-network
|
||||||
|
env_file:
|
||||||
|
- env/caddy.env
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
# cap_drop:
|
# cap_drop:
|
||||||
@ -29,6 +33,11 @@ services:
|
|||||||
# - SETGID
|
# - SETGID
|
||||||
# - SETUID
|
# - SETUID
|
||||||
# - NET_BIND_SERVICE
|
# - NET_BIND_SERVICE
|
||||||
|
healthcheck:
|
||||||
|
test: pidof caddy || exit 1
|
||||||
|
interval: 120s
|
||||||
|
timeout: 10s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
caddy_data:
|
caddy_data:
|
||||||
|
@ -32,7 +32,7 @@ services:
|
|||||||
- caddy
|
- caddy
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/mysql:rw
|
- wordpress_db:/var/lib/mysql:rw
|
||||||
env_file:
|
env_file:
|
||||||
- env/wordpress_db.env
|
- env/wordpress_db.env
|
||||||
command: '--default-authentication-plugin=mysql_native_password'
|
command: '--default-authentication-plugin=mysql_native_password'
|
||||||
@ -42,7 +42,7 @@ services:
|
|||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database:
|
wordpress_db:
|
||||||
name: database
|
name: wordpress_db
|
||||||
wordpress:
|
wordpress:
|
||||||
name: wordpress
|
name: wordpress
|
0
env/caddy.env
vendored
Normal file
0
env/caddy.env
vendored
Normal file
Loading…
Reference in New Issue
Block a user