fickit: Fix Mariadb init + pin image version

This commit is contained in:
nemunaire 2023-10-23 14:51:27 +02:00
parent b08039c997
commit a7432b070d
2 changed files with 6 additions and 5 deletions

View File

@ -152,8 +152,8 @@ services:
- name: rngd - name: rngd
image: linuxkit/rngd:331294919ba6d953d261a2694019b659a98535a4 image: linuxkit/rngd:331294919ba6d953d261a2694019b659a98535a4
- name: db - name: db
image: mariadb:latest image: mariadb:11
command: ["/bin/bash", "/usr/local/bin/docker-entrypoint.sh", "mysqld"] command: ["/bin/bash", "/usr/local/bin/docker-entrypoint.sh", "mariadbd"]
capabilities: capabilities:
- CAP_CHOWN - CAP_CHOWN
- CAP_SETUID - CAP_SETUID
@ -303,7 +303,8 @@ services:
- MYSQL_PASSWORD=fic - MYSQL_PASSWORD=fic
binds: binds:
- /etc/hosts:/etc/hosts:ro - /etc/hosts:/etc/hosts:ro
- /var/lib/fic/teams:/srv/TEAMS - /var/lib/fic/teams:/srv/TEAMS:ro
- /var/lib/fic/settingsdist:/srv/SETTINGSDIST:ro
net: /run/netns/fic-qa net: /run/netns/fic-qa
pid: new pid: new
ipc: new ipc: new

View File

@ -147,7 +147,7 @@ services:
binds: binds:
- /etc/dhcpcd.conf:/dhcpcd.conf:ro - /etc/dhcpcd.conf:/dhcpcd.conf:ro
- name: nginx - name: nginx
image: nginx:alpine image: nginx:1-alpine
capabilities: capabilities:
- CAP_NET_BIND_SERVICE - CAP_NET_BIND_SERVICE
- CAP_CHOWN - CAP_CHOWN
@ -200,7 +200,7 @@ services:
- /var/lib/fic/teams - /var/lib/fic/teams
- name: fic-remote-challenge-sync-airbus - name: fic-remote-challenge-sync-airbus
# image: nemunaire/fic-remote-challenge-sync-airbus:latest # image: nemunaire/fic-remote-challenge-sync-airbus:latest
image: alpine:latest image: alpine:3
command: ["/bin/ash", "-c", "while true; do sleep 300; done"] command: ["/bin/ash", "-c", "while true; do sleep 300; done"]
env: env:
- AIRBUS_BASEURL=https://.... - AIRBUS_BASEURL=https://....