fedired-backend/compose.yml

52 lines
1010 B
YAML
Raw Permalink Normal View History

2024-11-08 15:13:47 +00:00
services:
fedired-backend:
2024-11-10 01:42:58 +00:00
# image: registry.manalejandro.com/fedired-backend
2024-11-08 15:13:47 +00:00
build: .
2024-11-10 01:42:58 +00:00
image: fedired-backend
2024-11-08 15:25:13 +00:00
container_name: fedired-backend
hostname: fedired-backend
2024-11-08 15:13:47 +00:00
restart: always
depends_on:
- redis
- postgres
expose:
2024-11-08 15:25:13 +00:00
- 3000
2024-11-08 15:13:47 +00:00
volumes:
- ./files:/fedired/files
- ./default.yml:/.config/default.yml:ro
networks:
fedirednet:
redis:
image: redis
container_name: redis-fedired
hostname: redis-fedired
restart: always
volumes:
- ./redis:/data
expose:
- 6379
networks:
fedirednet:
postgres:
image: postgres:9.6
container_name: postgres-fedired
hostname: postgres-fedired
restart: always
volumes:
- ./pg_data:/var/lib/postgresql/data
- ./pg_backups:/pg_backups
environment:
- POSTGRES_USER=fedired
- POSTGRES_PASSWORD=fedired
- POSTGRES_DB=fedired
expose:
- 5432
networks:
fedirednet:
networks:
fedirednet: