mirror of
https://github.com/wger-project/wger.git
synced 2026-11-29 17:51:42 +01:00
39 lines
636 B
YAML
39 lines
636 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
web:
|
|
image: wger/server:latest
|
|
volumes:
|
|
- type: bind
|
|
source: ../../../
|
|
target: /home/wger/src/
|
|
- media:/home/wger/media
|
|
ports:
|
|
- "8000:8000"
|
|
env_file:
|
|
- ./dev.env
|
|
depends_on:
|
|
- db
|
|
- cache
|
|
|
|
db:
|
|
image: postgres:12-alpine
|
|
volumes:
|
|
- wger-postgres-data:/var/lib/postgresql/data/
|
|
expose:
|
|
- 5432
|
|
environment:
|
|
- POSTGRES_USER=wger
|
|
- POSTGRES_PASSWORD=wger
|
|
- POSTGRES_DB=wger
|
|
|
|
cache:
|
|
restart: always
|
|
image: redis:latest
|
|
expose:
|
|
- 6379
|
|
|
|
volumes:
|
|
wger-postgres-data:
|
|
media:
|