data.coop-ansible/roles/docker/templates/compose-files/data_coop_website.yml.j2

28 lines
949 B
Plaintext
Raw Normal View History

2023-10-03 19:45:21 +00:00
# vim: ft=yaml.docker-compose
version: "3.8"
services:
2023-10-04 17:35:09 +00:00
prod-web:
2023-10-03 19:45:21 +00:00
image: docker.data.coop/data-coop-website:{{ services.data_coop_website.version }}
restart: unless-stopped
networks:
- external_services
environment:
VIRTUAL_HOST: "{{ services.data_coop_website.domain }},{{ services.data_coop_website.www_domain }}"
LETSENCRYPT_HOST: "{{ services.data_coop_website.domain }},{{ services.data_coop_website.www_domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
2023-10-04 17:35:09 +00:00
staging-web:
2023-10-03 19:45:21 +00:00
image: docker.data.coop/data-coop-website:{{ services.data_coop_website.staging_version }}
restart: unless-stopped
networks:
- external_services
environment:
VIRTUAL_HOST: "{{ services.data_coop_website.staging_domain }}"
LETSENCRYPT_HOST: "{{ services.data_coop_website.staging_domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
networks:
external_services:
external: true