inital setup

This commit is contained in:
2023-06-11 10:15:24 +02:00
parent 718e340450
commit 2c57a59e15
6 changed files with 133 additions and 1 deletions

53
docker-compose.yml Normal file
View File

@@ -0,0 +1,53 @@
# https://docs.docker.com/compose/compose-file/compose-file-v3/
---
version: "3.9"
services:
git:
image: gitea/gitea:${GITTAG:-latest}
container_name: git
env_file:
- .git.env
- .env
restart: unless-stopped
ports:
- 3000:3000
deploy:
replicas: 1
placement:
max_replicas_per_node: 1
update_config:
parallelism: 1
delay: 10s
volumes:
- ${BASEDIR:-.}/files/git/:/data/
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
networks:
- backend
drone:
image: drone/drone:${DRONETAG:-latest}
container_name: drone
env_file:
- .drone.env
- .env
restart: unless-stopped
ports:
- 8080:80
- 8443:443
deploy:
replicas: 1
placement:
max_replicas_per_node: 1
update_config:
parallelism: 1
delay: 10s
volumes:
- ${BASEDIR:-.}/files/drone/:/data/
networks:
- backend
networks:
backend:
name: ${INTRANET:-backend}
external: true