Wordpress config: Differentiate the service name from the container name.

This commit is contained in:
2025-11-01 11:53:27 -07:00
parent 1bcf5f3e7b
commit 4264e47577

View File

@@ -17,7 +17,7 @@
services:
wp-db:
db:
container_name: wp-db
image: mariadb:lts
restart: always
@@ -45,17 +45,17 @@ services:
cpus: $WP_CPU_DB
memory: $WP_MEM_DB
wp-app:
app:
container_name: wp-app
image: wordpress:latest
restart: always
ports:
- 8080:80
depends_on:
wp-db:
db:
condition: service_healthy
links:
- wp-db
- db
volumes:
- ../../Volumes/WordPress/wordpress:/var/www/html
environment: