mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 04:21:14 +00:00
26 lines
762 B
YAML
26 lines
762 B
YAML
services:
|
|
|
|
serge:
|
|
image: ghcr.io/serge-chat/serge:main
|
|
container_name: serge
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8008
|
|
expose:
|
|
- 8008
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/serge/weights:/usr/src/app/weights
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/serge/datadb:/data/db/
|
|
#networks:
|
|
# - proxy
|
|
#labels:
|
|
# - traefik.enable=true
|
|
# - traefik.docker.network=proxy
|
|
# - traefik.http.routers.serge.rule=Host(`serge.example.com`)
|
|
# - traefik.http.services.serge.loadbalancer.server.port=8080
|
|
# # Optional part for traefik middlewares
|
|
# - traefik.http.routers.serge.middlewares=local-ipwhitelist@file,authelia@docker
|
|
|
|
#networks:
|
|
# proxy:
|
|
# external: true |