-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample-compose.yml
More file actions
42 lines (42 loc) · 1.17 KB
/
example-compose.yml
File metadata and controls
42 lines (42 loc) · 1.17 KB
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
services:
playnite-sync-server:
image: yalgrin/playnite-simple-sync-server:0.1.4
container_name: playnite-simple-sync-server
hostname: playnite-simple-sync-server
restart: unless-stopped
logging:
options:
max-size: 10m
volumes:
- 'D:/Playnite-Sync-Server/metadata/:/app/metadata'
- 'D:/Playnite-Sync-Server/logs/:/app/logs'
environment:
SYNC_SERVER_PORT: 8093
SYNC_SERVER_LOG_DIR: /app/logs/
SYNC_SERVER_DB_HOST: playnite-db
SYNC_SERVER_DB_PORT: 5432
SYNC_SERVER_DB_NAME: playnite
SYNC_SERVER_DB_USER: playnite
SYNC_SERVER_DB_PASSWORD: playnite
SYNC_SERVER_MAX_FILE_SIZE: 100MB
SYNC_SERVER_METADATA_FOLDER: /app/metadata
ports:
- "8093:8093"
depends_on:
- playnite-db
playnite-db:
image: postgres:17.5
container_name: playnite-db
hostname: playnite-db
restart: unless-stopped
logging:
options:
max-size: 10m
volumes:
- 'D:/Playnite-Sync-Server/postgres/data/:/var/lib/postgresql/data'
ports:
- "49010:5432"
environment:
POSTGRES_DB: playnite
POSTGRES_USER: playnite
POSTGRES_PASSWORD: playnite