2024-01-13 12:43:19 +00:00
|
|
|
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:
|
2024-01-23 12:55:27 +00:00
|
|
|
- "TZ=Europe/Berlin"
|
2024-02-18 11:50:18 +00:00
|
|
|
- "WAVE_ConnectionStrings__DefaultConnection=Host=db; Username=wave; Password=development; Include Error Detail=true"
|
2024-01-21 20:03:06 +00:00
|
|
|
- "WAVE_ConnectionStrings__Redis=redis,password=development"
|
2024-01-13 12:59:50 +00:00
|
|
|
volumes:
|
|
|
|
- wave-files:/app/files
|
2024-01-18 12:56:52 +00:00
|
|
|
- wave-config:/configuration
|
2024-01-13 12:43:19 +00:00
|
|
|
networks:
|
|
|
|
- wave
|
2024-01-21 20:03:06 +00:00
|
|
|
depends_on:
|
|
|
|
- database
|
2024-01-13 12:43:19 +00:00
|
|
|
database:
|
|
|
|
image: postgres:16.1-alpine
|
|
|
|
restart: unless-stopped
|
|
|
|
environment:
|
|
|
|
- "POSTGRES_DB=wave"
|
|
|
|
- "POSTGRES_USER=wave"
|
|
|
|
- "POSTGRES_PASSWORD=development"
|
2024-01-13 12:59:50 +00:00
|
|
|
volumes:
|
2024-01-14 11:55:05 +00:00
|
|
|
- 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
|
2024-01-13 12:43:19 +00:00
|
|
|
networks:
|
|
|
|
- wave
|
|
|
|
|
2024-01-13 12:59:50 +00:00
|
|
|
volumes:
|
|
|
|
wave-files:
|
2024-01-18 12:56:52 +00:00
|
|
|
wave-config:
|
2024-01-13 12:59:50 +00:00
|
|
|
wave-db:
|
2024-01-21 20:03:06 +00:00
|
|
|
wave-redis:
|
2024-01-13 12:43:19 +00:00
|
|
|
networks:
|
|
|
|
wave:
|