2022-06-05 10:20:16 +00:00
|
|
|
version: '3'
|
2022-02-27 19:27:22 +00:00
|
|
|
services:
|
|
|
|
picsur:
|
2023-03-15 13:24:26 +00:00
|
|
|
image: ghcr.io/caramelfur/picsur:latest
|
2022-02-27 19:27:22 +00:00
|
|
|
container_name: picsur
|
|
|
|
ports:
|
2022-06-05 10:20:16 +00:00
|
|
|
- '8080:8080'
|
2022-02-27 19:27:22 +00:00
|
|
|
environment:
|
|
|
|
# PICSUR_HOST: '0.0.0.0'
|
|
|
|
# PICSUR_PORT: 8080
|
|
|
|
|
|
|
|
PICSUR_DB_HOST: picsur_postgres
|
|
|
|
# PICSUR_DB_PORT: 5432
|
2022-08-28 14:31:20 +00:00
|
|
|
# PICSUR_DB_USERNAME: picsur
|
2022-02-27 19:27:22 +00:00
|
|
|
# PICSUR_DB_PASSWORD: picsur
|
2022-08-28 14:31:20 +00:00
|
|
|
# PICSUR_DB_DATABASE: picsur
|
2022-02-27 19:27:22 +00:00
|
|
|
|
|
|
|
# PICSUR_ADMIN_PASSWORD: picsur
|
|
|
|
|
2022-09-01 18:25:40 +00:00
|
|
|
## Optional, random secret will be generated if not set
|
2022-02-27 19:27:22 +00:00
|
|
|
# PICSUR_JWT_SECRET: CHANGE_ME
|
2022-09-01 18:25:40 +00:00
|
|
|
# PICSUR_JWT_EXPIRY: 7d
|
2022-02-27 19:27:22 +00:00
|
|
|
|
2022-09-01 18:25:40 +00:00
|
|
|
## Maximum accepted size for uploads in bytes
|
2022-02-27 19:27:22 +00:00
|
|
|
# PICSUR_MAX_FILE_SIZE: 128000000
|
2022-09-01 18:25:40 +00:00
|
|
|
## No need to touch this, unless you use a custom frontend
|
2022-02-27 19:27:22 +00:00
|
|
|
# PICSUR_STATIC_FRONTEND_ROOT: "/picsur/frontend/dist"
|
2022-09-01 18:25:40 +00:00
|
|
|
|
|
|
|
## Warning: Verbose mode might log sensitive data
|
|
|
|
# PICSUR_VERBOSE: "true"
|
2022-02-27 19:27:22 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
picsur_postgres:
|
2022-08-28 14:31:20 +00:00
|
|
|
image: postgres:14-alpine
|
2022-02-27 19:27:22 +00:00
|
|
|
container_name: picsur_postgres
|
|
|
|
environment:
|
|
|
|
POSTGRES_DB: picsur
|
|
|
|
POSTGRES_PASSWORD: picsur
|
|
|
|
POSTGRES_USER: picsur
|
|
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
|
|
- picsur-data:/var/lib/postgresql/data
|
|
|
|
volumes:
|
|
|
|
picsur-data:
|