infra/playbooks/roles/hatecomputers-club/templates/docker-compose.yml.j2

25 lines
953 B
Plaintext
Raw Normal View History

2024-03-26 18:49:53 -04:00
version: '3'
services:
2024-03-29 17:05:03 -04:00
server:
2024-03-26 18:50:46 -04:00
image: git.hatecomputers.club/hatecomputers/hatecomputers.club:latest
2024-03-26 18:49:53 -04:00
restart: always
ports:
- 127.0.0.1:9696:8080
2024-03-29 17:05:03 -04:00
- {{ hatecomputers_intra_bind_address }}:53:8053/udp
2024-03-26 18:49:53 -04:00
environment:
- CLOUDFLARE_TOKEN={{ cloudflare_api_token }}
- CLOUDFLARE_ZONE={{ cloudflare_zone_id }}
- OAUTH_SCOPES={{ hatecomputers_club_oauth2_scope }}
- OAUTH_AUTH_URL={{ hatecomputers_club_oauth2_auth_url }}
- OAUTH_TOKEN_URL={{ hatecomputers_club_oauth2_token_url }}
- OAUTH_CLIENT_ID={{ hatecomputers_club_oauth2_client_id }}
- OAUTH_CLIENT_SECRET={{ hatecomputers_club_oauth2_client_secret }}
- OAUTH_REDIRECT_URI={{ hatecomputers_club_oauth2_redirect_uri }}
2024-03-29 17:05:03 -04:00
- OAUTH_USER_INFO_URI={{ hatecomputers_club_oauth2_user_info_uri }}
2024-03-29 18:36:00 -04:00
- HCAPTCHA_SITE_KEY={{ hcaptcha_site_key }}
- HCAPTCHA_SECRET={{ hcaptcha_secret }}
2024-03-26 18:49:53 -04:00
volumes:
- ./db:/app/db