This commit is contained in:
nora 2023-08-26 21:52:50 +02:00
parent 36f7c051ae
commit ecc84c5a88
2 changed files with 17 additions and 1 deletions

View file

@ -26,7 +26,14 @@
dest: /apps/registry/config.yml
src: ../apps/registry/config.yml
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!
#####

View file

@ -10,5 +10,14 @@ services:
- "/apps/registry/htpasswd:/htpasswd"
ports:
- "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.