restructure services based on host machine
This commit is contained in:
18
nuc/privatebin/docker-compose.yml
Normal file
18
nuc/privatebin/docker-compose.yml
Normal file
@@ -0,0 +1,18 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
privatebin:
|
||||
image: privatebin/nginx-fpm-alpine:latest
|
||||
container_name: privatebin
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- DOMAIN_ROOT=${DOMAIN_ROOT}
|
||||
|
||||
volumes:
|
||||
- privatebin_data:/srv/data
|
||||
- ./cfg/conf.php:/srv/cfg/conf.php:ro
|
||||
|
||||
networks:
|
||||
- web
|
||||
volumes:
|
||||
privatebin_data:
|
||||
external: true
|
Reference in New Issue
Block a user