Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Verified Commit 3be745c9 authored by Vincent SIMONIN's avatar Vincent SIMONIN
Browse files

:green_heart: Fixed docker-compose test environment

parent e05abb51
No related branches found
No related tags found
1 merge request!57🐛 Fixed source and target URL are not cleaned before storage
Pipeline #123275 failed
......@@ -3,15 +3,19 @@ services:
netbox:
image: "code.europa.eu:4567/digit-c4/netbox-plugins:${TAG}"
ports:
- 8080
- 8080
healthcheck:
start_period: 2s
retries: 30
env_file: env/netbox.env
environment:
- DB_HOST=postgres_${TAG}
- REDIS_CACHE_HOST=redis_cache_${TAG}
- REDIS_HOST=redis_${TAG}
labels:
- "traefik.http.routers.netbox.rule=Host(`${TAG}.${HOSTNAME}`)"
- "traefik.http.routers.netbox-${TAG}.rule=Host(`${TAG}.netbox.ntx.lu`)"
networks:
- traefik
- traefik
logging:
driver: "syslog"
options:
......@@ -22,7 +26,7 @@ services:
image: "code.europa.eu:4567/digit-c4/netbox-plugins:${TAG}"
env_file: env/netbox.env
networks:
- traefik
- traefik
logging:
driver: "syslog"
options:
......@@ -33,7 +37,7 @@ services:
image: "code.europa.eu:4567/digit-c4/netbox-plugins:${TAG}"
env_file: env/netbox.env
networks:
- traefik
- traefik
logging:
driver: "syslog"
options:
......@@ -41,9 +45,10 @@ services:
syslog-format: "rfc5424"
tag: "netbox-housekeeping"
postgres:
container_name: postgres_${TAG}
env_file: env/postgres.env
networks:
- traefik
- traefik
logging:
driver: "syslog"
options:
......@@ -51,9 +56,10 @@ services:
syslog-format: "rfc5424"
tag: "netbox-postgres"
redis:
container_name: redis_${TAG}
env_file: env/redis.env
networks:
- traefik
- traefik
logging:
driver: "syslog"
options:
......@@ -61,9 +67,10 @@ services:
syslog-format: "rfc5424"
tag: "netbox-redis"
redis-cache:
container_name: redis_cache_${TAG}
env_file: env/redis-cache.env
networks:
- traefik
- traefik
logging:
driver: "syslog"
options:
......
CORS_ORIGIN_ALLOW_ALL=True
DB_HOST=postgres
DB_NAME=netbox
DB_PASSWORD=J5brHrAXFLQSif0K
DB_USER=netbox
......@@ -20,12 +19,10 @@ HOUSEKEEPING_INTERVAL=86400
MEDIA_ROOT=/opt/netbox/netbox/media
METRICS_ENABLED=true
REDIS_CACHE_DATABASE=1
REDIS_CACHE_HOST=redis-cache
REDIS_CACHE_INSECURE_SKIP_TLS_VERIFY=false
REDIS_CACHE_PASSWORD=t4Ph722qJ5QHeQ1qfu36
REDIS_CACHE_SSL=false
REDIS_DATABASE=0
REDIS_HOST=redis
REDIS_INSECURE_SKIP_TLS_VERIFY=false
REDIS_PASSWORD=H733Kdjndks81
REDIS_SSL=false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment