Made compose file adhere to official specs

This commit is contained in:
SinTan1729
2022-11-14 23:12:26 -06:00
parent c8118a4c96
commit 41e6231217
2 changed files with 2 additions and 3 deletions

29
compose.yaml Normal file
View File

@@ -0,0 +1,29 @@
services:
simply-shorten:
image: sintan1729/simply-shorten:latest
restart: unless-stopped
container_name: simply-shorten
ports:
- 4567:4567
environment:
# Change if you want to mount the database somewhere else
# In this case, you can get rid of the db volume below
# - db_url=/urls.sqlite
# Change it in case you want to set the website name
# displayed in front of the shorturls, defaults to
# the hostname you're accessing it from
# - site_url=https://www.example.com
- username=admin
- password=$3CuReP4S$W0rD
volumes:
- db:/urls.sqlite
networks:
- proxy
volumes:
db:
networks:
proxy:
external: true