Skip to content

Commit

Permalink
Changes to docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
huwf committed Nov 4, 2019
1 parent 676408a commit 69f8ecc
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,22 @@ version: '3'

services:
flask:
image: huwf/dictogloss:latest-alpine
image: huwf/dictogloss:0.3
ports:
- 127.0.0.1:5000:80
- 127.0.0.1:5001:443
- 127.0.0.1:5000:5000
# - 127.0.0.1:5001:443
restart: always
environment:
FLASK_RUN_HOST: 0.0.0.0
VIRTUAL_HOST: dictogloss.huwfryer.co.uk
VIRTUAL_PORT: 5000
VIRTUAL_PROTO: https
# VIRTUAL_PROTO: https
LETSENCRYPT_HOST: dictogloss.huwfryer.co.uk
LETSENCRYPT_EMAIL: [email protected]
volumes:
- ./letsencrypt:/etc/letsencrypt
- site:/usr/src
- ./config.py:/usr/src/config.py
- mp3:/usr/src/static/mp3

# SEE: https://github.com/buchdag/letsencrypt-nginx-proxy-companion-compose/blob/master/2-containers/compose-v3/labels/docker-compose.yaml
# For examples on how to set up the letsencrypt service
Expand Down Expand Up @@ -50,7 +53,7 @@ services:

volumes:

site:
mp3:
conf:
vhost:
html:
Expand Down

0 comments on commit 69f8ecc

Please sign in to comment.