This commit is contained in:
parent
cedf74c4b6
commit
3e8716c8d8
@ -8,7 +8,7 @@ drone_gitea_always_auth: TRUE
|
||||
drone_RPC_secret: secret
|
||||
drone_server_host: toto:80
|
||||
drone_server_proto: http
|
||||
|
||||
drone_user: admin
|
||||
drone_db_external: FALSE
|
||||
drone_db_host: 127.0.0.1:5432
|
||||
drone_db_name: drone
|
||||
|
@ -19,10 +19,9 @@
|
||||
state: started
|
||||
env_file: "{{drone_env_file_path}}"
|
||||
restart: yes
|
||||
restart_policy: 'unless-stopped'
|
||||
restart_policy: "unless-stopped"
|
||||
published_ports: "{{ drone_port }}"
|
||||
|
||||
|
||||
- name: create drone docker runner container
|
||||
docker_container:
|
||||
name: "{{ drone_runner_container_name }}"
|
||||
@ -30,6 +29,5 @@
|
||||
state: started
|
||||
env_file: "{{drone_env_file_path}}"
|
||||
restart: yes
|
||||
restart_policy: 'unless-stopped'
|
||||
restart_policy: "unless-stopped"
|
||||
volumes: "{{ drone_docker_socket }}:/var/run/docker.sock"
|
||||
|
||||
|
@ -11,4 +11,4 @@ DRONE_SERVER_PROTO={{drone_server_proto}}
|
||||
DRONE_DATABASE_DRIVER=postgres
|
||||
DRONE_DATABASE_DATASOURCE=postgres://{{drone_db_user}}:{{drone_db_password|urlencode()}}@{{drone_db_host}}/{{drone_db_name}}?sslmode=disable
|
||||
{% endif%}
|
||||
|
||||
DRONE_USER_CREATE=username:{{drone_user}},admin:true
|
||||
|
Loading…
Reference in New Issue
Block a user