18 lines
351 B
YAML
18 lines
351 B
YAML
|
services:
|
||
|
nginx:
|
||
|
container_name: tetris
|
||
|
build:
|
||
|
context: .
|
||
|
restart: always
|
||
|
networks:
|
||
|
- proxynet
|
||
|
labels:
|
||
|
- "traefik.enable=true"
|
||
|
- "traefik.http.routers.nginx.rule=Host(`tetris.${SERVER_DOMAIN}`)"
|
||
|
# For dev:
|
||
|
volumes:
|
||
|
- ./html:/usr/share/nginx/html
|
||
|
|
||
|
networks:
|
||
|
proxynet:
|
||
|
external: true
|