fedired-backend/compose.yml
ale a554d13ee1
Some checks reported errors
continuous-integration/drone/push Build was killed
.drone.yml
2024-11-10 02:42:58 +01:00

52 lines
1010 B
YAML

services:
fedired-backend:
# image: registry.manalejandro.com/fedired-backend
build: .
image: fedired-backend
container_name: fedired-backend
hostname: fedired-backend
restart: always
depends_on:
- redis
- postgres
expose:
- 3000
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: