-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 879 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (41 loc) · 879 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
41
version: '3.1'
services:
frontend:
image: packetfire/openresty-pasteclick
build:
context: ./
dockerfile: Dockerfile.openresty
environment:
PASTE_CLICK_UPSTREAM: "http://backend:8001"
PASTE_CLICK_FRONTEND_BUCKET: none
ports:
- 8080:80
- 8443:443
volumes:
- proxy_cache:/data/nginx/cache
- ./resty/ssl:/etc/ssl/nginx:ro
networks:
- backend
depends_on:
- backend
backend:
image: packetfire/pasteclick
build:
context: ./
command: /opt/bin/paste-click
environment:
ADDR: ':8001'
STORAGE_DRIVER: 'fs'
STORE_FS_BASE_PATH: "/www/paste.click/objects/"
SITE_NAME: "localhost:8080"
ports:
- 8001:8001
volumes:
- content:/www/paste.click/objects/
networks:
- backend
volumes:
content:
proxy_cache:
networks:
backend: