server/docker-compose.yml

62 lines
1.3 KiB
YAML
Raw Permalink Normal View History

2023-11-20 03:05:07 +01:00
services:
versia:
image: ghcr.io/versia-pub/server:latest
volumes:
- ./logs:/app/dist/logs
- ./config:/app/dist/config
- ./uploads:/app/dist/uploads
restart: unless-stopped
container_name: versia
2024-10-24 18:00:26 +02:00
tty: true
networks:
- versia-net
depends_on:
- db
- redis
- sonic
- fe
fe:
image: ghcr.io/versia-pub/frontend:main
container_name: versia-fe
restart: unless-stopped
networks:
- versia-net
environment:
NUXT_PUBLIC_API_HOST: https://yourserver.com
db:
image: ghcr.io/versia-pub/postgres:main
container_name: versia-db
restart: unless-stopped
environment:
POSTGRES_DB: versia
POSTGRES_USER: versia
POSTGRES_PASSWORD: _______________
networks:
- versia-net
volumes:
- ./db-data:/var/lib/postgresql/data
redis:
image: redis:alpine
container_name: versia-redis
volumes:
- ./redis-data:/data
restart: unless-stopped
networks:
- versia-net
sonic:
volumes:
- ./config.cfg:/etc/sonic.cfg
- ./store/:/var/lib/sonic/store/
image: valeriansaliou/sonic:v1.4.9
container_name: versia-sonic
restart: unless-stopped
networks:
- versia-net
networks:
versia-net: