mirror of
https://github.com/minoplhy/chhoto-url.git
synced 2024-11-22 09:16:46 +00:00
31 lines
908 B
YAML
31 lines
908 B
YAML
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
|
|
# and instead do a mount manually by specifying the location
|
|
# - db_url=/opt/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:/opt/urls.sqlite
|
|
networks:
|
|
- proxy
|
|
|
|
volumes:
|
|
db:
|
|
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|