- changed volumes to be local to the repo
- added volumes/ dir in gitignore
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user