Files
Jellystat/docker-compose.yml
Thegan Govender e63f52e2fb Added .dockerignore file to speed up local image builds
Changed Dockerfile as previos file was failing to build consistently
removed some unused packages
added compression to json payloads
changed vite ports to 3000 to not break existing builds
backend and frontend both use port 3000 now
2023-11-11 17:06:44 +02:00

27 lines
617 B
YAML

version: '3'
services:
jellystat-db:
image: postgres
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mypassword
jellystat:
image: jellystat
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: mypassword
POSTGRES_IP: jellystat-db
POSTGRES_PORT: 5432
JWT_SECRET: 'my-secret-jwt-key'
TZ: Africa/Johannesburg
ports:
- "3000:3000"
depends_on:
- jellystat-db
networks:
default:
logging:
driver: "json-file"
options:
max-file: "5" # number of files or file count
max-size: "10m" # file size