Created
June 22, 2020 13:07
-
-
Save centralhardware/fe48d6ce5979a230c01a9cc63d576a9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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