yerbamate-ml/files/docker-compose.yml
2020-02-10 19:52:12 +01:00

30 lines
561 B
YAML

version: "3.3"
services:
gitea:
image: gitea/gitea:1.10
restart: always
volumes:
- ./volumes/gitea:/data
ports:
- "127.0.0.1:3000:3000"
- "222:22"
environment:
- GITEA_HOSTNAME=${GITEA_HOSTNAME}
depends_on:
- redis
- postfix
redis:
image: redis:5.0-alpine
restart: always
command: redis-server --appendonly yes
volumes:
- ./volumes/redis:/data
postfix:
image: mwader/postfix-relay
environment:
- POSTFIX_myhostname=${GITEA_HOSTNAME}
restart: "always"