wip trying to get better volume controle and an error log volume

This commit is contained in:
asus
2024-02-07 10:31:42 +01:00
parent 217b20e7ae
commit 846a41063e
5 changed files with 56 additions and 11 deletions

View File

@@ -63,7 +63,6 @@ services:
volumes:
- wp_volume:${WP_VOLUME_DIR}
- wp_plugins:${WP_VOLUME_PLUGINS}
- error_logs:${ERRORS_LOGS_VOLUME}
build:
context: ./requirements/wordpress
args:
@@ -98,12 +97,12 @@ volumes:
type: none
o: "bind"
device: ${HOST_VOLUME_PLUGINS}
error_logs:
driver: local
driver_opts:
type: none
o: "bind"
device: ${HOST_VOLUME_ERROR_LOGS}
# error_logs:
# driver: local
# driver_opts:
# type: none
# o: "bind"
# device: ${HOST_VOLUME_ERROR_LOGS}
networks:
inception: