2020-02-14 13:17:56 -06:00
|
|
|
services:
|
2022-11-14 23:12:26 -06:00
|
|
|
simply-shorten:
|
2022-11-04 01:39:53 -05:00
|
|
|
image: sintan1729/simply-shorten:latest
|
2022-11-04 01:14:47 -05:00
|
|
|
restart: unless-stopped
|
|
|
|
container_name: simply-shorten
|
|
|
|
ports:
|
|
|
|
- 4567:4567
|
2020-02-16 09:53:18 -06:00
|
|
|
environment:
|
2020-05-23 12:54:27 -05:00
|
|
|
# Change if you want to mount the database somewhere else
|
2022-11-05 14:44:15 -05:00
|
|
|
# In this case, you can get rid of the db volume below
|
2020-05-23 12:54:27 -05:00
|
|
|
# - db_url=/urls.sqlite
|
2022-11-10 20:17:39 -06:00
|
|
|
# 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
|
2020-05-23 12:54:27 -05:00
|
|
|
- username=admin
|
|
|
|
- password=$3CuReP4S$W0rD
|
2020-02-16 09:53:18 -06:00
|
|
|
volumes:
|
2020-05-23 12:54:27 -05:00
|
|
|
- db:/urls.sqlite
|
2022-11-04 01:14:47 -05:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
|
2020-05-23 12:54:27 -05:00
|
|
|
volumes:
|
|
|
|
db:
|
2020-02-16 09:53:18 -06:00
|
|
|
|
2022-11-04 01:39:53 -05:00
|
|
|
|
2020-02-16 09:53:18 -06:00
|
|
|
networks:
|
|
|
|
proxy:
|
2022-11-04 01:14:47 -05:00
|
|
|
external: true
|