chore: clean up docker compose file
Remove traefik and woodpecker from the docker compose file.
This commit is contained in:
parent
0490fc6568
commit
32ee6bded6
1 changed files with 0 additions and 64 deletions
|
@ -61,35 +61,6 @@ services:
|
||||||
target: "{{ .Caddy.TLS.ContainerDirectory }}"
|
target: "{{ .Caddy.TLS.ContainerDirectory }}"
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ print "" }}
|
{{ print "" }}
|
||||||
# -- Traffic flow --
|
|
||||||
traefik:
|
|
||||||
container_name: "{{ .Traefik.ContainerName }}"
|
|
||||||
image: "localhost/flow/traefik:{{ .Traefik.Version }}"
|
|
||||||
build:
|
|
||||||
context: "../traefik"
|
|
||||||
networks:
|
|
||||||
flow:
|
|
||||||
ipv4_address: "{{ .Traefik.ContainerIpv4Address }}"
|
|
||||||
ports:
|
|
||||||
- target: 80
|
|
||||||
published: 80
|
|
||||||
protocol: "tcp"
|
|
||||||
mode: "host"
|
|
||||||
- target: 443
|
|
||||||
published: 443
|
|
||||||
protocol: "tcp"
|
|
||||||
mode: "host"
|
|
||||||
- target: {{ .Traefik.ExternalSSHPort }}
|
|
||||||
published: {{ .Traefik.ExternalSSHPort }}
|
|
||||||
protocol: "tcp"
|
|
||||||
mode: "host"
|
|
||||||
restart: "always"
|
|
||||||
volumes:
|
|
||||||
{{- template "defaultVolumes" }}
|
|
||||||
# Traefik TLS volume
|
|
||||||
- type: "bind"
|
|
||||||
source: "{{ .Traefik.TlsHostDirectory }}"
|
|
||||||
target: "{{ .Traefik.TlsContainerDirectory }}"
|
|
||||||
# -- Code flow --
|
# -- Code flow --
|
||||||
forgejo:
|
forgejo:
|
||||||
container_name: "{{ .Forgejo.ContainerName }}"
|
container_name: "{{ .Forgejo.ContainerName }}"
|
||||||
|
@ -148,41 +119,6 @@ services:
|
||||||
- type: "bind"
|
- type: "bind"
|
||||||
source: "{{ .GoToSocial.DataHostDirectory }}"
|
source: "{{ .GoToSocial.DataHostDirectory }}"
|
||||||
target: "{{ .GoToSocial.DataContainerDirectory }}"
|
target: "{{ .GoToSocial.DataContainerDirectory }}"
|
||||||
# -- Work Flow --
|
|
||||||
woodpecker:
|
|
||||||
container_name: "{{ .Woodpecker.ContainerName }}"
|
|
||||||
image: "localhost/flow/woodpecker:{{ .Woodpecker.Version }}"
|
|
||||||
build:
|
|
||||||
context: "../woodpecker"
|
|
||||||
environment:
|
|
||||||
WOODPECKER_LOG_LEVEL: "{{ .Woodpecker.LogLevel }}"
|
|
||||||
WOODPECKER_HOST: "https://{{ .Woodpecker.Subdomain }}.{{ .RootDomain }}"
|
|
||||||
WOODPECKER_SERVER_ADDR: "{{ .Woodpecker.ContainerIpv4Address }}:{{ .Woodpecker.HttpPort }}"
|
|
||||||
WOODPECKER_GRPC_ADDR: "{{ .Woodpecker.ContainerIpv4Address }}:{{ .Woodpecker.GrpcPort }}"
|
|
||||||
WOODPECKER_LETS_ENCRYPT: "false"
|
|
||||||
WOODPECKER_ADMIN: "{{ .Woodpecker.Admin }}"
|
|
||||||
WOODPECKER_OPEN: "{{ .Woodpecker.Open }}"
|
|
||||||
WOODPECKER_AGENT_SECRET: "{{ .Woodpecker.AgentSecret }}"
|
|
||||||
WOODPECKER_DATABASE_DRIVER: "sqlite3"
|
|
||||||
WOODPECKER_DATABASE_DATASOURCE: "{{ .Woodpecker.DataContainerDirectory }}/woodpecker.db"
|
|
||||||
WOODPECKER_GITEA: "true"
|
|
||||||
WOODPECKER_GITEA_URL: "https://{{ .Forgejo.Subdomain }}.{{ .RootDomain }}"
|
|
||||||
WOODPECKER_GITEA_CLIENT: "{{ .Woodpecker.ForgejoClientID }}"
|
|
||||||
WOODPECKER_GITEA_SECRET: "{{ .Woodpecker.ForgejoClientSecret }}"
|
|
||||||
WOODPECKER_GITEA_SKIP_VERIFY: "false"
|
|
||||||
expose:
|
|
||||||
- "{{ .Woodpecker.HttpPort }}"
|
|
||||||
- "{{ .Woodpecker.GrpcPort }}"
|
|
||||||
networks:
|
|
||||||
flow:
|
|
||||||
ipv4_address: "{{ .Woodpecker.ContainerIpv4Address }}"
|
|
||||||
restart: "always"
|
|
||||||
volumes:
|
|
||||||
{{- template "defaultVolumes" }}
|
|
||||||
# Woodpecker data volume
|
|
||||||
- type: "bind"
|
|
||||||
source: "{{ .Woodpecker.DataHostDirectory }}"
|
|
||||||
target: "{{ .Woodpecker.DataContainerDirectory }}"
|
|
||||||
# -- Landing Page --
|
# -- Landing Page --
|
||||||
landing:
|
landing:
|
||||||
container_name: "{{ .Landing.ContainerName }}"
|
container_name: "{{ .Landing.ContainerName }}"
|
||||||
|
|
Loading…
Reference in a new issue