Skip to content

Instantly share code, notes, and snippets.

@centralhardware
Created June 22, 2020 13:07
Show Gist options
  • Save centralhardware/fe48d6ce5979a230c01a9cc63d576a9c to your computer and use it in GitHub Desktop.
Save centralhardware/fe48d6ce5979a230c01a9cc63d576a9c to your computer and use it in GitHub Desktop.
version: "2.3"
services:
bonsai:
image: impworks/bonsai:latest
restart: unless-stopped
volumes:
- /media/alex-server/main/family archive/bonsai/images:/app/wwwroot/media
environment:
- ConnectionStrings__Database=Server=postgres;Port=5432;Database=bonsai;User Id=bonsai;Password=test;Persist Security Info=true
- Auth__AllowPasswordAuth=true
- WebServer__RequireHttps=false
- ASPNETCORE_ENVIRONMENT=Production
stop_signal: SIGKILL
links:
- postgres
ports:
- 99:80
postgres:
image: postgres
restart: unless-stopped
volumes:
- /home/alex-server/bonsai/psql:/var/lib/postgresql
environment:
POSTGRES_PASSWORD: test
POSTGRES_USER: bonsai
POSTGRES_DB: bonsai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment