forked from data.coop/ansible
Add phanpy service
This commit is contained in:
parent
9164b39906
commit
722a4aba9c
|
@ -156,6 +156,11 @@ services:
|
|||
- "www.cryptoaarhus.dk"
|
||||
volume_folder: "{{ volume_website_folder }}/cryptoaarhus"
|
||||
|
||||
phanpy_website:
|
||||
domain: "phanpy.data.coop"
|
||||
volume_folder: "{{ volume_website_folder }}/phanpy"
|
||||
version: latest
|
||||
|
||||
drone:
|
||||
domain: "drone.{{ base_domain }}"
|
||||
volume_folder: "{{ volume_root_folder }}/drone"
|
||||
|
|
22
roles/docker/templates/compose-files/phanpy_website.yml.j2
Normal file
22
roles/docker/templates/compose-files/phanpy_website.yml.j2
Normal file
|
@ -0,0 +1,22 @@
|
|||
# vim: ft=yaml.docker-compose
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
web:
|
||||
image: docker.data.coop/unipi:{{ services.phanpy_website.version }}
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- external_services
|
||||
environment:
|
||||
VIRTUAL_HOST: "{{ services.phanpy_website.domain }}"
|
||||
LETSENCRYPT_HOST: "{{ services.phanpy_website.domain }}"
|
||||
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
||||
command: --remote=https://git.data.coop/reynir/phanpy.git#production
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
devices:
|
||||
- "/dev/net/tun"
|
||||
|
||||
networks:
|
||||
external_services:
|
||||
external: true
|
Loading…
Reference in a new issue