Initial commit
This commit is contained in:
22
docker/PrivateBin/behind-proxy-with-db/compose.override.yml
Normal file
22
docker/PrivateBin/behind-proxy-with-db/compose.override.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
privatebin:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
## HTTP Routers
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.entrypoints=https"
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.rule=Host(`${PRIVATEBIN_HOSTNAME}.$DOMAINNAME1`)"
|
||||
## Middlewares
|
||||
# - "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.middlewares=chain-authelia@file"
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.middlewares=chain-no-auth@file"
|
||||
## HTTP Services
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.service=${PRIVATEBIN_HOSTNAME}-svc"
|
||||
- "traefik.http.services.${PRIVATEBIN_HOSTNAME}-svc.loadbalancer.server.port=8080"
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
db:
|
||||
image: ${PRIVATEBINDB_IMAGE}:${PRIVATEBINDB_TAG}
|
||||
container_name: ${PRIVATEBINDB_CONTAINER_NAME}
|
||||
restart: ${PRIVATEBINDB_RESTART_POLICY}
|
||||
networks:
|
||||
- ${PRIVATEBIN_NETWORk_ID}
|
||||
9
docker/PrivateBin/behind-proxy-with-db/compose.yaml
Normal file
9
docker/PrivateBin/behind-proxy-with-db/compose.yaml
Normal file
@@ -0,0 +1,9 @@
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/postgres.yaml
|
||||
- ../../compose/privatebin.yaml
|
||||
|
||||
1
docker/PrivateBin/behind-proxy-with-db/dcc.sh
Executable file
1
docker/PrivateBin/behind-proxy-with-db/dcc.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker compose --env-file ../../env/.env.stack.privatebin --env-file ../../env/.env.common config
|
||||
13
docker/PrivateBin/behind-proxy/compose.override.yml
Normal file
13
docker/PrivateBin/behind-proxy/compose.override.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
privatebin:
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
## HTTP Routers
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.entrypoints=https"
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.rule=Host(`${PRIVATEBIN_HOSTNAME}.$DOMAINNAME1`)"
|
||||
## Middlewares
|
||||
# - "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.middlewares=chain-authelia@file"
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.middlewares=chain-no-auth@file"
|
||||
## HTTP Services
|
||||
- "traefik.http.routers.${PRIVATEBIN_HOSTNAME}-rtr.service=${PRIVATEBIN_HOSTNAME}-svc"
|
||||
- "traefik.http.services.${PRIVATEBIN_HOSTNAME}-svc.loadbalancer.server.port=8080"
|
||||
7
docker/PrivateBin/behind-proxy/compose.yaml
Normal file
7
docker/PrivateBin/behind-proxy/compose.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/privatebin.yaml
|
||||
1
docker/PrivateBin/behind-proxy/dcc.sh
Executable file
1
docker/PrivateBin/behind-proxy/dcc.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker compose --env-file ../../env/.env.stack.privatebin --env-file ../../env/.env.common config
|
||||
4
docker/PrivateBin/compose.override.yml
Normal file
4
docker/PrivateBin/compose.override.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
services:
|
||||
privatebin:
|
||||
volumes:
|
||||
- ${DOCKERDIR}/private-bin/conf.php:/srv/cfg/conf.php:ro
|
||||
7
docker/PrivateBin/compose.yaml
Normal file
7
docker/PrivateBin/compose.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/privatebin.yaml
|
||||
1
docker/PrivateBin/dcc.sh
Executable file
1
docker/PrivateBin/dcc.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker compose --env-file ../env/.env.stack.privatebin --env-file ../env/.env.common config
|
||||
13
docker/PrivateBin/with-db/compose.override.yml
Normal file
13
docker/PrivateBin/with-db/compose.override.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
privatebin:
|
||||
volumes:
|
||||
- ${DOCKERDIR}/private-bin/conf.php:/srv/cfg/conf.php:ro
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
db:
|
||||
image: ${PRIVATEBINDB_IMAGE}:${PRIVATEBINDB_TAG}
|
||||
container_name: ${PRIVATEBINDB_CONTAINER_NAME}
|
||||
restart: ${PRIVATEBINDB_RESTART_POLICY}
|
||||
networks:
|
||||
- ${PRIVATEBIN_NETWORk_ID}
|
||||
8
docker/PrivateBin/with-db/compose.yml
Normal file
8
docker/PrivateBin/with-db/compose.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
# Docker Compose v2.20 or greater required to use "include"
|
||||
include:
|
||||
#################### NETWORKS ####################
|
||||
- ../../compose/networks/proxy.yaml
|
||||
- ../../compose/networks/socket-proxy.yaml
|
||||
#################### SERVICES ####################
|
||||
- ../../compose/postgres.yaml
|
||||
- ../../compose/privatebin.yaml
|
||||
1
docker/PrivateBin/with-db/dcc.sh
Executable file
1
docker/PrivateBin/with-db/dcc.sh
Executable file
@@ -0,0 +1 @@
|
||||
docker compose --env-file ../../env/.env.stack.privatebin --env-file ../../env/.env.common config
|
||||
Reference in New Issue
Block a user