2024-03-29 20:54:14 +00:00
|
|
|
{# code: language=ansible-jinja #}
|
|
|
|
# THIS FILE IS MANAGED BY ANSIBLE
|
|
|
|
|
2023-09-30 16:15:27 +00:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
app:
|
|
|
|
image: portainer/portainer-ee:{{ services.portainer.version }}
|
|
|
|
restart: always
|
|
|
|
networks:
|
|
|
|
- external_services
|
|
|
|
volumes:
|
|
|
|
- ".:/data"
|
|
|
|
- "/var/run/docker.sock:/var/run/docker.sock:rw"
|
|
|
|
environment:
|
|
|
|
VIRTUAL_HOST: "{{ services.portainer.domain }}"
|
|
|
|
VIRTUAL_PORT: "9000"
|
|
|
|
LETSENCRYPT_HOST: "{{ services.portainer.domain }}"
|
|
|
|
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
external_services:
|
|
|
|
external: true
|