2020-02-14 19:17:56 +00:00
|
|
|
version: "3"
|
|
|
|
services:
|
2020-02-16 15:53:18 +00:00
|
|
|
url:
|
2022-11-04 06:14:47 +00:00
|
|
|
image: registry.gitlab.com/sintan1729/simply-shorten:latest
|
|
|
|
restart: unless-stopped
|
|
|
|
container_name: simply-shorten
|
|
|
|
ports:
|
|
|
|
- 4567:4567
|
2020-02-16 15:53:18 +00:00
|
|
|
environment:
|
2020-05-23 17:54:27 +00:00
|
|
|
# Change if you want to mount the database somewhere else
|
|
|
|
# - db_url=/urls.sqlite
|
|
|
|
- username=admin
|
|
|
|
- password=$3CuReP4S$W0rD
|
2020-02-16 15:53:18 +00:00
|
|
|
volumes:
|
2020-05-23 17:54:27 +00:00
|
|
|
- db:/urls.sqlite
|
2022-11-04 06:14:47 +00:00
|
|
|
networks:
|
|
|
|
- proxy
|
|
|
|
|
2020-05-23 17:54:27 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
db:
|
2020-02-16 15:53:18 +00:00
|
|
|
|
|
|
|
networks:
|
|
|
|
proxy:
|
2022-11-04 06:14:47 +00:00
|
|
|
external: true
|