29 lines
511 B
YAML
29 lines
511 B
YAML
services:
|
|
|
|
# frontend service
|
|
paste:
|
|
image: ghcr.io/lucko/paste
|
|
|
|
# backend service
|
|
bytebin:
|
|
image: ghcr.io/lucko/bytebin
|
|
volumes:
|
|
- data:/opt/bytebin/content
|
|
environment:
|
|
BYTEBIN_MISC_KEYLENGTH: 5
|
|
|
|
# reverse proxy
|
|
nginx:
|
|
image: nginx:alpine
|
|
command: ['nginx', '-g', 'daemon off;']
|
|
depends_on:
|
|
- paste
|
|
- bytebin
|
|
ports:
|
|
- 8080:80
|
|
volumes:
|
|
- ./docker/reverseproxy-nginx.conf:/etc/nginx/conf.d/default.conf:ro
|
|
|
|
volumes:
|
|
data: {}
|