- changed volumes to be local to the repo

- added volumes/ dir in gitignore
This commit is contained in:
asus
2024-02-05 16:15:45 +01:00
parent 56a69c5520
commit f43de228c6
5 changed files with 24 additions and 21 deletions

View File

@@ -21,7 +21,7 @@ services:
context: ./requirements/nginx
args:
- WP_URL=${WP_URL}
- MAX_UPLOAD_SIZE=${MAX_UPLOAD_SIZE}
- SERVER_MAX_UPLOAD_SIZE=${SERVER_MAX_UPLOAD_SIZE}
- WP_VOLUME_DIR=${WP_VOLUME_DIR}
- NG_VOLUME_CERTS=${NG_VOLUME_CERTS}
image: nginx
@@ -36,7 +36,7 @@ services:
networks:
- inception
volumes:
- db_volume:/var/lib/mysql
- db_volume:${DB_VOLUME_DIR}
build:
context: ./requirements/mariadb
args:
@@ -62,9 +62,8 @@ services:
build:
context: ./requirements/wordpress
args:
- WP_VOLUME_DIR=${WP_VOLUME_DIR}
- MAX_UPLOAD_SIZE=${MAX_UPLOAD_SIZE}
- EXECUTION_TIME=${EXECUTION_TIME}
- SERVER_MAX_UPLOAD_SIZE=${SERVER_MAX_UPLOAD_SIZE}
- SERVER_EXECUTION_TIME=${SERVER_EXECUTION_TIME}
image: wordpress
container_name: wordpress_container
depends_on: