Adapt Drone recipes for VM setup, use PostgreSQL

This commit is contained in:
2022-03-12 14:45:11 -06:00
parent a1b07dfb9e
commit f35fb638d1
11 changed files with 94 additions and 31 deletions

View File

@@ -2,7 +2,7 @@ version: '3'
services:
drone-server:
image: drone/drone:2.5
image: drone/drone:2.11
ports:
- "<%= @upstream_port %>:80"
@@ -17,6 +17,8 @@ services:
- DRONE_SERVER_HOST=<%= @domain %>
- DRONE_SERVER_PROTO=https # required for the Redirect URI to be built correctly
- DRONE_RPC_SECRET=<%= @rpc_secret %>
- DRONE_DATABASE_DRIVER=postgres
- DRONE_DATABASE_DATASOURCE=postgres://<%= @postgres[:username] %>:<%= @postgres[:password] %>@<%= @postgres[:host] %>:<%= @postgres[:port] %>/<%= @postgres[:database] %>?sslmode=disable
drone-runner:
image: drone/drone-runner-docker:1.8