mirror of
https://github.com/muety/wakapi.git
synced 2025-12-06 06:22:41 -08:00
chore: user postgres 17 by default in docker compose stack [skip ci]
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ services:
|
||||
- db_password
|
||||
|
||||
db:
|
||||
image: postgres:12.3
|
||||
image: postgres:17
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
POSTGRES_USER: "wakapi"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user