mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
widetom
This commit is contained in:
parent
36f7c051ae
commit
ecc84c5a88
2 changed files with 17 additions and 1 deletions
|
|
@ -26,7 +26,14 @@
|
||||||
dest: /apps/registry/config.yml
|
dest: /apps/registry/config.yml
|
||||||
src: ../apps/registry/config.yml
|
src: ../apps/registry/config.yml
|
||||||
mode: u=r,g=r,o=r # readonly
|
mode: u=r,g=r,o=r # readonly
|
||||||
|
#####
|
||||||
|
# APP: docker registry, /apps/registry
|
||||||
|
#####
|
||||||
|
- name: Create /apps/widetom
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /apps/registry
|
||||||
|
state: directory
|
||||||
|
mode: u=rwx,g=rx,o=rx
|
||||||
#####
|
#####
|
||||||
# END: docker compose up!
|
# END: docker compose up!
|
||||||
#####
|
#####
|
||||||
|
|
|
||||||
|
|
@ -10,5 +10,14 @@ services:
|
||||||
- "/apps/registry/htpasswd:/htpasswd"
|
- "/apps/registry/htpasswd:/htpasswd"
|
||||||
ports:
|
ports:
|
||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
|
widetom:
|
||||||
|
container_name: widetom
|
||||||
|
image: docker.nilstrieb.dev/widetom:490c94ca
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/apps/widetom:/app/config"
|
||||||
|
environment:
|
||||||
|
CONFIG_PATH: /app/config/config.toml
|
||||||
|
BOT_TOKEN_PATH: /app/config/bot_token
|
||||||
|
|
||||||
# TODO: create an internal network and move caddy there as well.
|
# TODO: create an internal network and move caddy there as well.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue