31 lines
971 B
Django/Jinja
31 lines
971 B
Django/Jinja
version: '3.3'
|
|
services:
|
|
# server
|
|
drone:
|
|
volumes:
|
|
- 'data:/data'
|
|
environment:
|
|
- 'DRONE_GITEA_SERVER=https://git.mgrote.net'
|
|
- DRONE_GITEA_CLIENT_ID=f8f0db2a-0089-4e23-9f5a-a5e52f20d765
|
|
- DRONE_GITEA_CLIENT_SECRET={{ lookup('keepass', 'drone_gitea_client_secret', 'password') }}
|
|
- DRONE_RPC_SECRET={{ lookup('keepass', 'drone_rpc_secret', 'password') }}
|
|
- DRONE_SERVER_HOST=docker10.grote.lan:81
|
|
- DRONE_SERVER_PROTO=http
|
|
- DRONE_USER_CREATE=username:mg,admin:true # Gitea-Nutzer "mg" als Admin
|
|
#- DRONE_LOGS_DEBUG=true
|
|
ports:
|
|
- '81:80'
|
|
- '444:443'
|
|
restart: always
|
|
container_name: drone-server
|
|
image: 'drone/drone:latest'
|
|
networks:
|
|
- intern
|
|
|
|
|
|
######## Volumes ########
|
|
volumes:
|
|
data:
|
|
######## Networks ########
|
|
networks:
|
|
intern: # hier kommunizieren Runner + Server
|