You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ghostfolio/docker/docker-compose.dev.yml

25 lines
518 B

services:
postgres:
image: docker.io/library/postgres:15
container_name: postgres
restart: unless-stopped
env_file:
- ../.env
ports:
- ${POSTGRES_PORT:-5432}:5432
volumes:
- postgres:/var/lib/postgresql/data
redis:
image: docker.io/library/redis:alpine
container_name: redis
restart: unless-stopped
env_file:
- ../.env
command: ['redis-server', '--requirepass', $REDIS_PASSWORD]
ports:
- ${REDIS_PORT:-6379}:6379
volumes:
postgres: