mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
48 lines
960 B
YAML
48 lines
960 B
YAML
version: "3"
|
|
|
|
services:
|
|
app:
|
|
image: ghcr.io/manyfold3d/manyfold:latest
|
|
ports:
|
|
- 3214:3214
|
|
volumes:
|
|
- /path/to/your/libraries:/libraries
|
|
environment:
|
|
DATABASE_URL: postgresql://manyfold:password@db/manyfold?pool=5
|
|
SECRET_KEY_BASE: a_nice_long_random_string
|
|
REDIS_URL: redis://redis:6379/1
|
|
# 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:
|