-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
75 lines (69 loc) · 1.83 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
services:
versia:
image: ghcr.io/versia-pub/server:latest
volumes:
- ./logs:/app/dist/logs
- ./config:/app/dist/config:ro
- ./uploads:/app/dist/uploads
restart: unless-stopped
container_name: versia
tty: true
networks:
- versia-net
depends_on:
- db
- redis
- sonic
- fe
worker:
image: ghcr.io/versia-pub/worker:main
volumes:
- ./logs:/app/dist/logs
- ./config:/app/dist/config:ro
restart: unless-stopped
container_name: versia-worker
tty: true
networks:
- versia-net
depends_on:
- db
- redis
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: