forked from data.coop/ansible
28 lines
941 B
Plaintext
28 lines
941 B
Plaintext
|
# vim: ft=yaml.docker-compose
|
||
|
version: "3.8"
|
||
|
|
||
|
services:
|
||
|
prod:
|
||
|
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 }}"
|
||
|
|
||
|
staging:
|
||
|
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
|