chore: user postgres 17 by default in docker compose stack [skip ci]

This commit is contained in:
Ferdinand Mütsch
2024-09-27 15:23:08 +02:00
parent b6def215c5
commit 2568fbd39b
4 changed files with 6 additions and 6 deletions

View File

@@ -91,13 +91,13 @@ $ docker run -d \
If you want to run Wakapi on **Kubernetes**, there is [wakapi-helm-chart](https://github.com/andreymaznyak/wakapi-helm-chart) for quick and easy deployment.
#### Docker Compose
Alternatively, you can use Docker Compose (`docker compose up -d`) for an even more straightforward deployment. See [compose.yml](https://github.com/muety/wakapi/blob/master/compose.yml) for configuration details.
Alternatively, you can use Docker Compose for an even more straightforward deployment. See [compose.yml](https://github.com/muety/wakapi/blob/master/compose.yml) for configuration details.
Wakapi supports [Docker Secrets](https://docs.docker.com/compose/how-tos/use-secrets/) for the following variables: `WAKAPI_PASSWORD_SALT`, `WAKAPI_DB_PASSWORD`, `WAKAPI_MAIL_SMTP_PASS`. You can set these either by having them mounted as a secret file, or directly pass them as environment variables.
##### Example
```bash
export
export WAKAPI_PASSWORD_SALT=changeme
export WAKAPI_DB_PASSWORD=changeme
export WAKAPI_MAIL_SMTP_PASS=changeme

View File

@@ -20,7 +20,7 @@ services:
- db_password
db:
image: postgres:12.3
image: postgres:17
restart: unless-stopped
environment:
POSTGRES_USER: "wakapi"

View File

@@ -1,6 +1,6 @@
services:
postgres:
image: postgres:15
image: postgres:17
environment:
POSTGRES_USER: "wakapi"
POSTGRES_PASSWORD: "wakapi"
@@ -19,7 +19,7 @@ services:
network_mode: host
mariadb:
image: mariadb:10
image: mariadb:11
environment:
MYSQL_TCP_PORT: 53306
MARIADB_USER: "wakapi"

View File

@@ -65,7 +65,7 @@ case $DB_TYPE in
elif [ "$DB_TYPE" == "mssql" ]; then
db_port=1433
else
db_port=26257
db_port=53306
fi
for _ in $(seq 0 30); do