Skip to content

Instantly share code, notes, and snippets.

@r8or0pz
Last active December 20, 2021 18:47
Show Gist options
  • Save r8or0pz/e4b361faa513c2bb6559b36a84645b99 to your computer and use it in GitHub Desktop.
Save r8or0pz/e4b361faa513c2bb6559b36a84645b99 to your computer and use it in GitHub Desktop.
version: '3'
networks:
flask:
services:
flask:
image: webapp-flask
build:
context: .
dockerfile: Dockerfile-flask
volumes:
- "./:/app"
networks:
- flask
logging:
driver: fluentd
options:
fluentd-address: 192.168.37.75:24224
tag: flask
nginx:
image: webapp-nginx
build:
context: .
dockerfile: Dockerfile-nginx
ports:
- 5000:80
depends_on:
- flask
networks:
- flask
logging:
driver: fluentd
options:
fluentd-address: 192.168.37.75:24224
tag: nginx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment