Skip to content

Commit

Permalink
test-ci: disable traefik for dbs
Browse files Browse the repository at this point in the history
  • Loading branch information
pontussjostedt committed Nov 13, 2024
1 parent 397c1b4 commit db1ac5a
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ services:
volumes:
- ${UPLOAD_LOCATION}/photos:/usr/src/app/upload
- /etc/localtime:/etc/localtime:ro
ports:
- 2283:2283
#ports:
# - 2283:2283

depends_on:
- redis
- database
Expand All @@ -40,6 +41,8 @@ services:
image: redis:6.2-alpine@sha256:2ba50e1ac3a0ea17b736ce9db2b0a9f6f8b85d4c27d5f5accc6a416d8f42c6d5
healthcheck:
test: redis-cli ping || exit 1
labels:
- "traefik.enable=false"
restart: always

database:
Expand All @@ -53,8 +56,8 @@ services:
POSTGRES_INITDB_ARGS: '--data-checksums'
volumes:
- ${UPLOAD_LOCATION}/postgres:/var/lib/postgresql/data
ports:
- 5432:5432
labels:
- "traefik.enable=false"
command: [ 'postgres', '-c', 'shared_preload_libraries=vectors.so', '-c', 'search_path="$$user", public, vectors', '-c', 'logging_collector=on', '-c', 'max_wal_size=2GB', '-c', 'shared_buffers=512MB', '-c', 'wal_compression=on' ]
restart: always

Expand Down

0 comments on commit db1ac5a

Please sign in to comment.