36 lines
882 B
Django/Jinja
36 lines
882 B
Django/Jinja
services:
|
|
loadbalancer:
|
|
build: cuyper-hook/
|
|
restart: always
|
|
env_file: .env
|
|
ports:
|
|
- "80:80"
|
|
- "443:443"
|
|
volumes:
|
|
- "{{ cuyper__cuyper_storage_path }}/letsencrypt:/etc/letsencrypt"
|
|
- "{{ cuyper__cuyper_config_path }}/nginx:/etc/nginx/conf.d/"
|
|
- "{{ cuyper__cuyper_config_path }}:/config"
|
|
networks:
|
|
loadbalance-network:
|
|
internal_network:
|
|
|
|
portainer:
|
|
image: portainer/portainer-ce:2.45.1
|
|
restart: always
|
|
volumes:
|
|
- "{{ cuyper__portainer_storage_path }}:/data"
|
|
- "{{ cuyper__portainer_docker_sock }}:/var/run/docker.sock"
|
|
networks:
|
|
internal_network:
|
|
aliases:
|
|
- portainer
|
|
|
|
networks:
|
|
loadbalance-network:
|
|
external: true
|
|
name: loadbalance-network
|
|
driver: overlay
|
|
attachable: true
|
|
internal_network:
|
|
external: false
|
|
internal: true
|