static-publishing-platform/docker-compose.yml

39 lines
959 B
YAML

version: "3.4"
networks:
gitea:
external: false
services:
server:
# Patched image required for Gitea version < 1.19
image: superboum/gitea:1.17.4-cors
container_name: gitea
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__cors__ENABLED =true
- GITEA__cors__ALLOW_DOMAIN =*
- GITEA__cors__ALLOW_CREDENTIALS =true
- GITEA__cors__SCHEME =*
# Ignored in Gitea version < 1.19, see image comment above
- GITEA__cors__HEADERS =Content-Type,User-Agent,Authorization
restart: always
networks:
- gitea
volumes:
- ./gitea:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "2222:22"
teabag:
image: ghcr.io/denyskon/teabag:latest
container_name: teabag
restart: always
network_mode: host
volumes:
- ./teabag.env:/etc/teabag/teabag.env
ports:
- "3001:3001"