Skip to content

Instantly share code, notes, and snippets.

@bkatiemills
Created March 14, 2019 20:11
Show Gist options
  • Save bkatiemills/70d989a5199b05afaa836d3492edab66 to your computer and use it in GitHub Desktop.
Save bkatiemills/70d989a5199b05afaa836d3492edab66 to your computer and use it in GitHub Desktop.
bulletin board stack file solution part 3
version: '3.7'
services:
bb-db:
image: ${dockerId}/bb-db:v2
networks:
- bb-net
volumes:
- sqlbackup:/var/opt/mssql
bb-app:
image: ${dockerId}/bb-app:v2.2
networks:
- bb-net
env_file:
- bbconfig.env
secrets:
- passwd
bb-proxy:
image: ${dockerId}/bb-proxy:v2.1
ports:
- "80:80"
networks:
- bb-net
configs:
- source: proxyconfig
target: /etc/nginx/nginx.conf
networks:
bb-net:
secrets:
passwd:
external: true
configs:
proxyconfig:
file: ./bulletin-board-proxy/nginx.conf
volumes:
sqlbackup:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment