mirror of
https://github.com/manyfold3d/manyfold.git
synced 2026-10-22 03:32:18 -05:00
32 lines
614 B
YAML
32 lines
614 B
YAML
version: "3"
|
|
|
|
services:
|
|
app:
|
|
image: ghcr.io/floppy/van_dam:latest
|
|
ports:
|
|
- 3214:3214
|
|
volumes:
|
|
- /path/to/your/libraries:/libraries
|
|
environment:
|
|
DATABASE_URL: postgresql://van_dam:password@db/van_dam?pool=5
|
|
SECRET_KEY_BASE: a_nice_long_random_string
|
|
GRID_SIZE: 260
|
|
depends_on:
|
|
- db
|
|
- redis
|
|
|
|
db:
|
|
image: postgres:13
|
|
volumes:
|
|
- db_data:/var/lib/postgresql/data
|
|
environment:
|
|
POSTGRES_USER: van_dam
|
|
POSTGRES_PASSWORD: password
|
|
restart: on-failure
|
|
|
|
redis:
|
|
image: redis:6
|
|
restart: on-failure
|
|
|
|
volumes:
|
|
db_data: |