fickit: Fix launch of challenge-sync containers

This commit is contained in:
nemunaire 2024-03-27 21:37:30 +01:00
parent d98aa1c269
commit 18cab3dc6b
1 changed files with 6 additions and 0 deletions

View File

@ -206,12 +206,15 @@ services:
- /var/lib/fic/teams
- name: fic-remote-challenge-sync-airbus
image: nemunaire/fic-remote-challenge-sync-airbus:latest
command: ["/srv/challenge-sync-airbus", "--no-validate-challenge", "--watch"]
env:
- AIRBUS_BASEURL_FILE=/run/config/remote_sync/baseurl
- AIRBUS_TOKEN_FILE=/run/config/remote_sync/token
- AIRBUS_SESSION_NAME_FILE=/run/config/remote_sync/session_name
- AIRBUS_SKIP_TLS_VERIFY=true
binds:
- /etc/hosts:/etc/hosts:ro
- /etc/resolv.conf:/etc/resolv.conf:ro
- /run/config/remote_sync/:/run/config/remote_sync/:ro
- /var/lib/fic/teams:/srv/TEAMS:ro
- /var/lib/fic/remote:/srv/REMOTE
@ -221,12 +224,15 @@ services:
net: /run/netns/nginx
- name: fic-remote-challenge-sync
image: alpine:3
command: ["/bin/sh", "-c", "while true; do sleep 300; done;"]
env:
- AIRBUS_BASEURL_FILE=/run/config/remote_sync/baseurl
- AIRBUS_TOKEN_FILE=/run/config/remote_sync/token
- AIRBUS_SESSION_NAME_FILE=/run/config/remote_sync/session_name
- AIRBUS_SKIP_TLS_VERIFY=true
binds:
- /etc/hosts:/etc/hosts:ro
- /etc/resolv.conf:/etc/resolv.conf:ro
- /run/config/remote_sync/:/run/config/remote_sync/:ro
- /var/lib/fic/teams:/srv/TEAMS:ro
- /var/lib/fic/remote:/srv/REMOTE