2020-02-15 05:17:56 +10:00
|
|
|
services:
|
2024-02-11 10:29:50 +10:00
|
|
|
chhoto-url:
|
|
|
|
image: sintan1729/chhoto-url:latest
|
2022-11-04 16:14:47 +10:00
|
|
|
restart: unless-stopped
|
2024-02-11 10:29:50 +10:00
|
|
|
container_name: chhoto-url
|
2022-11-04 16:14:47 +10:00
|
|
|
ports:
|
|
|
|
- 4567:4567
|
2020-02-17 01:53:18 +10:00
|
|
|
environment:
|
2020-05-24 03:54:27 +10:00
|
|
|
# Change if you want to mount the database somewhere else
|
2022-11-06 05:44:15 +10:00
|
|
|
# In this case, you can get rid of the db volume below
|
2023-04-04 04:50:23 +10:00
|
|
|
# and instead do a mount manually by specifying the location
|
2023-04-09 06:56:29 +10:00
|
|
|
# - db_url=/urls.sqlite
|
2023-04-28 15:22:30 +10:00
|
|
|
|
2022-11-11 12:17:39 +10: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
|
2023-04-28 15:22:30 +10:00
|
|
|
|
2020-05-24 03:54:27 +10:00
|
|
|
- password=$3CuReP4S$W0rD
|
2023-04-28 15:22:30 +10:00
|
|
|
|
|
|
|
# Pass the redirect method, if needed TEMPORARY and PERMANENT
|
|
|
|
# are accepted values, defaults to PERMANENT
|
|
|
|
# - redirect_method=TEMPORARY
|
2020-02-17 01:53:18 +10:00
|
|
|
volumes:
|
2023-04-09 06:56:29 +10:00
|
|
|
- db:/urls.sqlite
|
2022-11-04 16:14:47 +10:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
|
2020-05-24 03:54:27 +10:00
|
|
|
volumes:
|
|
|
|
db:
|
2020-02-17 01:53:18 +10:00
|
|
|
|
2022-11-04 16:39:53 +10:00
|
|
|
|
2020-02-17 01:53:18 +10:00
|
|
|
networks:
|
|
|
|
proxy:
|
2022-11-04 16:14:47 +10:00
|
|
|
external: true
|