Created
September 28, 2020 09:27
-
-
Save alfeg/790b7aaadaed0b41cb504db9c98b58d7 to your computer and use it in GitHub Desktop.
SuSu sample
This file contains 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: '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