server-dotfiles/ci/docker-compose.yaml

41 lines
764 B
YAML
Raw Normal View History

2020-12-05 11:48:47 +01:00
version: '3.7'
service:
server:
image: drone/drone:1
restart: always
env_file:
- env-droneci-server
networks:
- internal
- proxy
volumes:
- ci_server_data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
runner:
image: drone/drone-runner-docker:1
restart: always
env_file:
- env-droneci-runner
networks:
- internal
volumes:
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock
volumes:
ci_server_data:
driver: local
driver_opts:
type: none
o: bind
device: "/srv/docker/ci/server_data"
networks:
internal: {}
proxy:
external: true