split data and db mountpoints
parent
c6259b7027
commit
de0c62eac3
|
@ -12,7 +12,7 @@ services:
|
|||
]
|
||||
volumes:
|
||||
#- ${BUILD_ROOT_PATH}/docker/mariadb/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
- ${DATA_FOLDER}/mariadb:/var/lib/mysql
|
||||
- ${DB_FOLDER}/mariadb:/var/lib/mysql
|
||||
environment:
|
||||
#MYSQL_DATABASE: wordpress
|
||||
MYSQL_ROOT_PASSWORD: ${MARIADB_PASSWORD}
|
||||
|
|
|
@ -9,7 +9,7 @@ services:
|
|||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
volumes:
|
||||
- ${DATA_FOLDER}/postgres:/var/lib/postgresql/data
|
||||
- ${DB_FOLDER}/postgres:/var/lib/postgresql/data
|
||||
- ${BUILD_ROOT_PATH}/docker/postgresql/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
|
||||
networks:
|
||||
- isard_net
|
|
@ -4,6 +4,6 @@ services:
|
|||
image: redis:6-alpine
|
||||
container_name: isard-apps-redis
|
||||
volumes:
|
||||
- "${DATA_FOLDER}/redis:/data"
|
||||
- ${DB_FOLDER}/redis:/data
|
||||
networks:
|
||||
- isard_net
|
|
@ -4,7 +4,8 @@ DOMAIN=mydomain.com
|
|||
LETSENCRYPT_DNS=
|
||||
LETSENCRYPT_EMAIL=
|
||||
|
||||
DATA_FOLDER=/opt/isard-apps
|
||||
DB_FOLDER=/opt/isard-apps/db
|
||||
DATA_FOLDER=/opt/isard-apps/data
|
||||
LANG=es_ES.UTF-8
|
||||
LANGUAGE=es_ES:ca
|
||||
|
||||
|
|
Loading…
Reference in New Issue