Wave/docker-compose.yml

51 lines
1.1 KiB
YAML
Raw Permalink Normal View History

version: '3.4'
name: wave
services:
web:
image: ${DOCKER_REGISTRY-}wave
build:
context: .
dockerfile: Wave/Dockerfile
restart: unless-stopped
ports:
- "80:8080"
links:
- database:db
environment:
- "WAVE_ConnectionStrings__DefaultConnection=Host=db; Username=wave; Password=development"
2024-01-21 20:03:06 +00:00
- "WAVE_ConnectionStrings__Redis=redis,password=development"
volumes:
- wave-files:/app/files
- wave-config:/configuration
networks:
- wave
2024-01-21 20:03:06 +00:00
depends_on:
- database
database:
image: postgres:16.1-alpine
restart: unless-stopped
environment:
- "POSTGRES_DB=wave"
- "POSTGRES_USER=wave"
- "POSTGRES_PASSWORD=development"
volumes:
- wave-db:/var/lib/postgresql/data
2024-01-21 20:03:06 +00:00
networks:
- wave
redis:
image: redis:7-alpine
restart: unless-stopped
command: redis-server --requirepass development --save 60 1 --loglevel warning
volumes:
- wave-redis:/data
networks:
- wave
volumes:
wave-files:
wave-config:
wave-db:
2024-01-21 20:03:06 +00:00
wave-redis:
networks:
wave: