Docker - remove deprecated links - fix #216

This commit is contained in:
Sam 2022-07-20 11:03:45 +02:00
parent f7e6ba9be5
commit d61a180029

View File

@ -12,6 +12,8 @@ services:
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
volumes: volumes:
- ./data/db:/var/lib/postgresql/data - ./data/db:/var/lib/postgresql/data
networks:
- fittrackee-net
fittrackee: fittrackee:
container_name: fittrackee container_name: fittrackee
@ -24,14 +26,12 @@ services:
- fittrackee-db - fittrackee-db
- redis - redis
- mail - mail
links:
- fittrackee-db
- redis
- mail
volumes: volumes:
- .:/usr/src/app - .:/usr/src/app
- ./data/workouts:/usr/src/app/workouts - ./data/workouts:/usr/src/app/workouts
- ./data/uploads:/usr/src/app/uploads - ./data/uploads:/usr/src/app/uploads
networks:
- fittrackee-net
fittrackee_client: fittrackee_client:
container_name: fittrackee_client container_name: fittrackee_client
@ -57,6 +57,8 @@ services:
hostname: redis hostname: redis
ports: ports:
- "6379:6379" - "6379:6379"
networks:
- fittrackee-net
mail: mail:
container_name: fittrackee-mailhog container_name: fittrackee-mailhog
@ -64,9 +66,14 @@ services:
ports: ports:
- "1025:1025" - "1025:1025"
- "8025:8025" - "8025:8025"
networks:
- fittrackee-net
selenium: selenium:
image: selenium/standalone-firefox:latest image: selenium/standalone-firefox:latest
hostname: selenium hostname: selenium
privileged: true privileged: true
shm_size: 2g shm_size: 2g
networks:
fittrackee-net: