linkace: fix non-working container
This commit is contained in:
parent
c3ad1026ee
commit
6b35dc0207
2
.env
2
.env
|
@ -19,7 +19,7 @@ POSTGRES_HOST=postgres
|
||||||
POSTGRES_USER=lukas
|
POSTGRES_USER=lukas
|
||||||
POSTGRES_PASSWORD=kralovna
|
POSTGRES_PASSWORD=kralovna
|
||||||
POSTGRES_PORT=5432
|
POSTGRES_PORT=5432
|
||||||
MYSQL_SERVER=mariadb
|
MYSQL_HOST=mariadb
|
||||||
MYSQL_USER=lukas
|
MYSQL_USER=lukas
|
||||||
MYSQL_PASSWORD=kralovna
|
MYSQL_PASSWORD=kralovna
|
||||||
MYSQL_ROOT_PASSWORD=kralovna
|
MYSQL_ROOT_PASSWORD=kralovna
|
||||||
|
|
|
@ -734,21 +734,23 @@ services:
|
||||||
- public
|
- public
|
||||||
- mariadb
|
- mariadb
|
||||||
- redis
|
- redis
|
||||||
|
depends_on:
|
||||||
|
- mariadb
|
||||||
|
- redis
|
||||||
environment:
|
environment:
|
||||||
- DB_CONNECTION=mysql
|
# these env variables are instead of .env file
|
||||||
- DB_HOST=${MYSQL_SERVER}
|
# see https://www.linkace.org/docs/v1/setup/setup-with-docker/advanced-configuration/#using-docker-environment-variables-instead-of-the-env-file
|
||||||
- DB_PORT=${MYSQL_PORT}
|
- APP_KEY=base64:X6XDR+dfqn5PM9QdmmxJoOECSsldWhkfnyi6yvohgNM=
|
||||||
|
- DB_HOST=${MYSQL_HOST}
|
||||||
- DB_DATABASE=${LINKACE_DB}
|
- DB_DATABASE=${LINKACE_DB}
|
||||||
- DB_USERNAME=${LINKACE_DB_USERNAME}
|
- DB_USERNAME=${LINKACE_DB_USERNAME}
|
||||||
- DB_PASSWORD=${LINKACE_DB_PASSWORD}
|
- DB_PASSWORD=${LINKACE_DB_PASSWORD}
|
||||||
- REDIS_HOST=redis
|
- REDIS_HOST=redis
|
||||||
depends_on:
|
|
||||||
- mariadb
|
|
||||||
- redis
|
|
||||||
ports:
|
ports:
|
||||||
- "${LINKACE_EXTERNAL_PORT}:${LINKACE_INTERNAL_PORT}"
|
- "${LINKACE_EXTERNAL_PORT}:${LINKACE_INTERNAL_PORT}"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_STORAGE_PATH}/linkace/backups:/app/storage/app/backups
|
- ${DOCKER_STORAGE_PATH}/linkace/backups:/app/storage/app/backups
|
||||||
|
- ${DOCKER_STORAGE_PATH}/linkace/logs:/app/storage/logs
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
profiles:
|
profiles:
|
||||||
- base
|
- base
|
||||||
|
|
Loading…
Reference in New Issue