Skip to content

Commit

Permalink
Update docker image and add comments to docker compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
bgwdotdev committed Oct 20, 2019
1 parent e4d4ad0 commit 38f329a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.7"
services:
api:
image: docker.pkg.github.com/fffnite/go-oneroster/goors:0.3.0
image: docker.pkg.github.com/fffnite/go-oneroster/goors:0.3.1
environment:
GOORS_MONGO_URI: mongodb://database
env_file:
Expand All @@ -11,11 +11,13 @@ services:
labels:
- traefik.enable=true
- traefik.http.routers.goors.tls=true
# Set domain name for your domain
- traefik.http.routers.goors.rule=Host(`or.localhost`)
- traefik.http.routers.goors.entrypoints=web
database:
image: mongo
volumes:
# Set database directory to non temp folder
- /tmp/data/db:/data/db
reverse-proxy:
image: traefik
Expand Down

0 comments on commit 38f329a

Please sign in to comment.