Skip to content

Instantly share code, notes, and snippets.

@Friedjof
Last active July 20, 2023 12:15
Show Gist options
  • Save Friedjof/9d4f97c0f81aca88f4e8f9c25dea8bcf to your computer and use it in GitHub Desktop.
Save Friedjof/9d4f97c0f81aca88f4e8f9c25dea8bcf to your computer and use it in GitHub Desktop.
version: '3'
services:
shlink:
container_name: shlink
image: shlinkio/shlink:stable
restart: unless-stopped
environment:
DEFAULT_DOMAIN: shlink.7fi.re
IS_HTTPS_ENABLED: 'false' # Wird ja durch den Proxy Manager gemacht
GEOLITE_LICENSE_KEY: 'kjh23ljkbndskj345'
networks:
npm-network:
ipv4_address: 172.29.0.4
portainer:
image: portainer/portainer-ce:latest
container_name: portainer
restart: unless-stopped
security_opt:
- no-new-privileges:true
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./portainer-data:/data
networks:
npm-network:
ipv4_address: 172.29.0.3
npm:
image: 'jc21/nginx-proxy-manager:latest'
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./data:/data
- ./letsencrypt:/etc/letsencrypt
networks:
npm-network:
ipv4_address: 172.29.0.2
networks:
npm-network:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.29.0.0/24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment