Files
manyfold/docker-compose.example.yml
T

56 lines
1.2 KiB
YAML

version: "3"
services:
app:
image: ghcr.io/manyfold3d/manyfold:latest
ports:
- 3214:3214
volumes:
- /path/to/your/libraries:/libraries
environment:
PUID: 1000 # The ID of the user the app will run as
PGID: 1000 # The ID of the group the app will run as
SECRET_KEY_BASE: a_nice_long_random_string
REDIS_URL: redis://redis:6379/1
DATABASE_URL: postgresql://manyfold:password@db/manyfold?pool=5
# or
# DATABASE_HOST: db
# DATABASE_USER: manyfold
# DATABASE_PASSWORD: password
# DATABASE_NAME: manyfold
# For details of other optional environment variables, including features such
# as multiuser mode, visit https://manyfold.app/sysadmin/configuration.html
depends_on:
- db
- redis
networks:
- manyfold
links:
- db
- redis
db:
image: postgres:15
volumes:
- db_data:/var/lib/postgresql/data
environment:
POSTGRES_USER: manyfold
POSTGRES_PASSWORD: password
restart: on-failure
networks:
- manyfold
redis:
image: redis:7
restart: on-failure
networks:
- manyfold
volumes:
db_data:
networks:
manyfold: