41 lines
1.1 KiB
YAML
41 lines
1.1 KiB
YAML
version: '3'
|
|
#timeoftheday: !timestamp
|
|
|
|
|
|
services:
|
|
web:
|
|
build: .
|
|
image: "{{ now | quote }}"
|
|
|
|
# build:
|
|
# dockerfile: Dockerfile
|
|
container_name: report_satudata
|
|
restart: unless-stopped
|
|
ports:
|
|
- "8080:80"
|
|
# networks:
|
|
# - proxy
|
|
volumes:
|
|
- ./src:/app
|
|
# labels:
|
|
# - traefik.enable=true
|
|
|
|
# - traefik.http.routers.${HOST}.entrypoints=http
|
|
# - traefik.http.routers.${HOST}.rule=Host(`${HOST}.${DOMAIN}`)
|
|
# - traefik.http.routers.${HOST}.service=${HOST}
|
|
# # - traefik.http.routers.${HOST}.middlewares=${HOST}-https-redirect
|
|
|
|
# - traefik.http.routers.${HOST}-secure.entrypoints=https
|
|
# - traefik.http.routers.${HOST}-secure.rule=Host(`${HOST}.${DOMAIN}`)
|
|
# - traefik.http.routers.${HOST}-secure.tls=true
|
|
# - traefik.http.routers.${HOST}-secure.service=${HOST}
|
|
|
|
# - traefik.http.middlewares.sslheader.headers.customrequestheaders.X-Forwarded-Proto=https
|
|
# - traefik.http.middlewares.${HOST}-https-redirect.redirectscheme.scheme=https
|
|
|
|
# - traefik.http.services.${HOST}.loadbalancer.server.port=80
|
|
|
|
# networks:
|
|
# proxy:
|
|
# external: true
|