-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
33 lines (31 loc) · 1.52 KB
/
docker-compose.yml
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
version: '3.8'
services:
bots_api_container:
image: agifm/bots_api
container_name: japi
env_file:
- .env
ports:
- "8098:80"
networks:
- traefik
labels:
- "traefik.enable=true"
- "traefik.http.middlewares.japi-add-headers.headers.customresponseheaders.Content-Security-Policy=frame-ancestors 'self' spaceship.im *.spaceship.im"
- "traefik.http.middlewares.japi-add-headers.headers.customresponseheaders.Permission-Policy=interest-cohort=()"
- "traefik.http.middlewares.japi-add-headers.headers.customresponseheaders.Strict-Transport-Security=max-age=31536000; includeSubDomains"
- "traefik.http.middlewares.japi-add-headers.headers.customresponseheaders.X-Content-Type-Options=nosniff"
- "traefik.http.middlewares.japi-add-headers.headers.customresponseheaders.X-Frame-Options=SAMEORIGIN"
- "traefik.http.middlewares.japi-add-headers.headers.customresponseheaders.Access-Control-Allow-Origin=*"
- "traefik.http.middlewares.japi-add-headers.headers.customresponseheaders.X-XSS-Protection=1; mode=block"
- "traefik.http.routers.japi.entrypoints=web-secure"
- "traefik.http.routers.japi.middlewares=japi-add-headers"
- "traefik.http.routers.japi.rule=Host(`bots.spaceship.im`)"
- "traefik.http.routers.japi.service=japi"
- "traefik.http.routers.japi.tls=true"
- "traefik.http.routers.japi.tls.certresolver=default"
- "traefik.http.services.japi.loadbalancer.server.port=80"
networks:
traefik:
external:
name: traefik