Skip to content

Instantly share code, notes, and snippets.

@alfeg
Created September 28, 2020 09:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alfeg/790b7aaadaed0b41cb504db9c98b58d7 to your computer and use it in GitHub Desktop.
Save alfeg/790b7aaadaed0b41cb504db9c98b58d7 to your computer and use it in GitHub Desktop.
SuSu sample
version: '3.8'
services:
hq:
image: 'surveysolutions/surveysolutions'
depends_on:
- "db"
environment:
ASPNETCORE_ENVIRONMENT: Production
HQ_ConnectionStrings__DefaultConnection: 'Persist Security Info=true;Server=db;Port=5432;User Id=postgres;Password=pg_password;Database=SurveySolutions'
HQ_Headquarters__BaseUrl: http://hq.lvh.me
HQ_Headquarters__TenantName: hq
command: []
volumes:
- ./hq_appData:/app/AppData
- ./.aspnetkey:/root/.aspnet/DataProtection-Keys
restart: always
ports:
- "80:80"
db:
image: "postgres"
environment:
POSTGRES_PASSWORD: pg_password
volumes:
- ./database:/var/lib/postgresql/data
restart: always
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment