2023-09-07 20:44:52 +02:00
|
|
|
version: '3.9'
|
2021-10-30 12:54:14 -04:00
|
|
|
services:
|
|
|
|
postgres:
|
2023-09-17 06:52:41 +02:00
|
|
|
image: postgres:15
|
2021-12-21 20:22:58 +01:00
|
|
|
container_name: postgres
|
|
|
|
restart: unless-stopped
|
2021-10-30 12:54:14 -04:00
|
|
|
env_file:
|
|
|
|
- ../.env
|
2022-02-21 20:06:39 +01:00
|
|
|
ports:
|
|
|
|
- 5432:5432
|
2021-10-30 12:54:14 -04:00
|
|
|
volumes:
|
|
|
|
- postgres:/var/lib/postgresql/data
|
|
|
|
redis:
|
2023-09-07 20:44:52 +02:00
|
|
|
image: redis:alpine
|
2021-12-21 20:22:58 +01:00
|
|
|
container_name: redis
|
|
|
|
restart: unless-stopped
|
2021-10-30 12:54:14 -04:00
|
|
|
ports:
|
2021-12-21 20:22:58 +01:00
|
|
|
- 6379:6379
|
2021-10-30 12:54:14 -04:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
postgres:
|