Compare commits
5 Commits
0e18a445b4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 1249834c3e | |||
| f7e1ba01d2 | |||
| 5470c5021a | |||
| 707173c611 | |||
| d6afb6b062 |
@@ -19,11 +19,4 @@
|
||||
# Plugins actifs - versions fixées pour NetBox 4.4.x
|
||||
netboxlabs-netbox-branching>=0.7.0,<0.8.0
|
||||
netbox-bgp>=0.17.0,<0.18.0
|
||||
netbox-secrets
|
||||
netbox-topology-views
|
||||
|
||||
# Plugins disponibles - décommente ceux dont tu as besoin
|
||||
# netbox-documents
|
||||
# netbox-acls
|
||||
# netbox-qrcode
|
||||
# netbox-proxbox
|
||||
netbox-topology-views
|
||||
@@ -11,15 +11,19 @@ LABEL maintainer="Damien Arnodo"
|
||||
LABEL org.opencontainers.image.title="Prefect Worker - PostgreSQL Backup"
|
||||
LABEL org.opencontainers.image.description="Prefect worker with PostgreSQL and S3 tools for database backups"
|
||||
|
||||
# Installation des outils PostgreSQL (pg_dump, pg_restore, etc.)
|
||||
# Installation des outils système
|
||||
# - postgresql-client : pg_dump, pg_restore, psql
|
||||
# - git : nécessaire pour cloner les repositories contenant le code des flows
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
postgresql-client \
|
||||
git \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Installation des dépendances Python pour S3 et PostgreSQL
|
||||
RUN pip install --no-cache-dir \
|
||||
boto3 \
|
||||
psycopg2-binary
|
||||
psycopg2-binary \
|
||||
prefect-aws
|
||||
|
||||
# Création d'un utilisateur non-root
|
||||
RUN useradd -m -u 1000 prefect
|
||||
|
||||
Reference in New Issue
Block a user