fixes
This commit is contained in:
+8
-8
@@ -1,5 +1,5 @@
|
||||
services:
|
||||
rustpad-app:
|
||||
app:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
@@ -39,7 +39,7 @@ services:
|
||||
|
||||
postgres:
|
||||
image: postgres:18
|
||||
profiles: ["pgsql"]
|
||||
profiles: [ "pgsql" ]
|
||||
environment:
|
||||
POSTGRES_DB: ${POSTGRES_DB:-rustpad}
|
||||
POSTGRES_USER: ${POSTGRES_USER:-rustpad}
|
||||
@@ -48,33 +48,33 @@ services:
|
||||
volumes:
|
||||
- ./data/db/pgsql:/var/lib/postgresql
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-rustpad} -d ${POSTGRES_DB:-rustpad}"]
|
||||
test: [ "CMD-SHELL", "pg_isready -U ${POSTGRES_USER:-rustpad} -d ${POSTGRES_DB:-rustpad}" ]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
|
||||
mysql:
|
||||
image: mysql:8
|
||||
profiles: ["mysql"]
|
||||
profiles: [ "mysql" ]
|
||||
environment:
|
||||
MYSQL_DATABASE: ${MYSQL_DATABASE:-rustpad}
|
||||
MYSQL_USER: ${MYSQL_USER:-rustpad}
|
||||
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-rustpad}
|
||||
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-root}
|
||||
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci"]
|
||||
command: [ "--character-set-server=utf8mb4", "--collation-server=utf8mb4_unicode_ci" ]
|
||||
volumes:
|
||||
- ./data/db/mysql:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p${MYSQL_ROOT_PASSWORD:-root}"]
|
||||
test: [ "CMD", "mysqladmin", "ping", "-h", "localhost", "-u", "root", "-p${MYSQL_ROOT_PASSWORD:-root}" ]
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 30
|
||||
|
||||
garage:
|
||||
image: dxflrs/garage:v2.3.0
|
||||
profiles: ["s3"]
|
||||
profiles: [ "s3" ]
|
||||
restart: unless-stopped
|
||||
command: ["/garage", "server", "--single-node", "--default-bucket"]
|
||||
command: [ "/garage", "server", "--single-node", "--default-bucket" ]
|
||||
environment:
|
||||
GARAGE_DEFAULT_ACCESS_KEY: ${S3_ACCESS_KEY:-GK0123456789abcdef0123456789abcdef}
|
||||
GARAGE_DEFAULT_SECRET_KEY: ${S3_SECRET_KEY:-0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef}
|
||||
|
||||
Reference in New Issue
Block a user