using traefik and building added
This commit is contained in:
parent
b37b698e8c
commit
3cda16b5b6
1 changed files with 22 additions and 6 deletions
|
@ -1,11 +1,27 @@
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
bluesky-pds-dev:
|
bluesky-pds-dev:
|
||||||
container_name: bluesky-pds-dev
|
container_name: bluesky-pds-dev
|
||||||
hostname: sheltersky.social
|
hostname: ${PDS_HOSTNAME}
|
||||||
image: forgejo.gravityfargo.dev/gravityfargo/bluesky-pds:0.4.74
|
image: forgejo.gravityfargo.dev/gravityfargo/bluesky-pds:dev
|
||||||
ports:
|
build: ./
|
||||||
- 3000:3000
|
networks:
|
||||||
volumes:
|
- proxy
|
||||||
- ./config:/pds
|
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./config:/pds
|
||||||
|
labels:
|
||||||
|
traefik.enable: "true"
|
||||||
|
traefik.http.routers.bluesky-pds-insecure.entrypoints: http
|
||||||
|
traefik.http.routers.bluesky-pds-insecure.rule: HostRegexp(`^.+\.${URL_NAME}\.${URL_SUFFIX}$`) || Host(`${PDS_HOSTNAME}`)
|
||||||
|
traefik.http.routers.bluesky-pds-insecure.middlewares: BlueskyHeaders@file
|
||||||
|
traefik.http.routers.bluesky-pds-secure.entrypoints: https
|
||||||
|
traefik.http.routers.bluesky-pds-secure.rule: HostRegexp(`^.+\.${URL_NAME}\.${URL_SUFFIX}$`) || Host(`${PDS_HOSTNAME}`)
|
||||||
|
traefik.http.routers.bluesky-pds-secure.tls: "true"
|
||||||
|
traefik.http.services.bluesky-pds.loadbalancer.server.scheme: http
|
||||||
|
traefik.http.services.bluesky-pds.loadbalancer.server.port: 3000
|
||||||
|
traefik.http.routers.bluesky-pds-secure.middlewares: BlueskyHeaders@file
|
||||||
|
|
Loading…
Reference in a new issue