Created
September 17, 2018 14:29
-
-
Save nerixim/bbbe10bf9fbfb2242be2b3f835e10188 to your computer and use it in GitHub Desktop.
Revisions
-
Nikita Kamaev created this gist
Sep 17, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ version: "3.3" services: web: build: context: ./webapp/ dockerfile: Dockerfile depends_on: - db volumes: - ./webapp/:/app environment: DEBUG: 'True' GUNICORN_CMD_ARGS: "-b 0.0.0.0:5000 --reload" db: image: mariadb nginx: image: nginx depends_on: - web ports: - "80:80" volumes: - ./nginx/nginx.conf:/etc/nginx/nginx.conf