61 lines
1.6 KiB
YAML
61 lines
1.6 KiB
YAML
version: "3.9"
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|
|
internal:
|
|
external: true
|
|
|
|
volumes:
|
|
semaphore:
|
|
name: semaphore
|
|
|
|
services:
|
|
semaphore:
|
|
image: ansiblesemaphore/semaphore
|
|
container_name: semaphore
|
|
environment:
|
|
SEMAPHORE_DB_USER: semaphore
|
|
SEMAPHORE_DB_PASS: Zk5FM#*9uAFzt6n6TGD!
|
|
SEMAPHORE_DB_HOST: mysql8
|
|
SEMAPHORE_DB_PORT: 3306
|
|
SEMAPHORE_DB: semaphore
|
|
SEMAPHORE_PLAYBOOKPATH: /tmp/semaphore/
|
|
SEMAPHORE_ADMIN_PASSWORD: secret
|
|
SEMAPHORE_ADMIN_NAME: Christian Steinle
|
|
SEMAPHORE_ADMIN_EMAIL: christiansteinle@arcor.de
|
|
SEMAPHORE_ADMIN: chris
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
volumes:
|
|
- semaphore:/home/semaphore:rw
|
|
|
|
depends_on:
|
|
- mysql8
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.semaphore.entrypoints=web"
|
|
- "traefik.http.routers.semaphore.rule=Host(`semaphore.lan`)"
|
|
- "traefik.http.routers.semaphore.service=semaphore"
|
|
- "traefik.http.services.semaphore.loadbalancer.server.port=3000"
|
|
|
|
watchtower:
|
|
image: containrrr/watchtower
|
|
container_name: watchtower
|
|
environment:
|
|
TZ: Europe/Berlin
|
|
WATCHTOWER_CLEANUP: true
|
|
restart: unless-stopped
|
|
networks:
|
|
- proxy
|
|
- internal
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.semaphore.entrypoints=web"
|
|
- "traefik.http.routers.semaphore.rule=Host(`watchtower.lan`)"
|
|
- "traefik.http.routers.semaphore.service=semaphore"
|
|
- "traefik.http.services.semaphore.loadbalancer.server.port=80"
|