-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
40 lines (36 loc) · 738 Bytes
/
compose.yaml
File metadata and controls
40 lines (36 loc) · 738 Bytes
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
services:
pasted:
container_name: pasted
build:
context: .
target: final
volumes:
- ./test.yaml:/config.yaml
- files:/app/files
environment:
- PASTED_CONFIG=/config.yaml
ports:
- 9999:9999
- 8080:8080
# Uncomment for redis backend
# redis:
# image: redis:alpine
# ports:
# - 6379:6379
# volumes:
# - redis:/data
# Uncomment for postgres backend
# postgres:
# image: postgres:alpine
# environment:
# POSTGRES_USER: "pasted"
# POSTGRES_PASSWORD: "pasted"
# POSTGRES_DB: "pasted"
# ports:
# - 5432:5432
# volumes:
# - pgdata:/var/lib/postgresql/data
volumes:
files:
# redis:
# pgdata: