Skip to content

Instantly share code, notes, and snippets.

@fubarhouse
Last active February 18, 2020 01:41
Show Gist options
  • Save fubarhouse/3803b580ac1b9564f8639d89708084be to your computer and use it in GitHub Desktop.
Save fubarhouse/3803b580ac1b9564f8639d89708084be to your computer and use it in GitHub Desktop.
Fubarhouse's PygmyFile
---
defaults: false
services:
amazeeio-dnsmasq:
Config:
Labels:
- pygmy.defaults: true
amazeeio-mailhog:
Config:
Labels:
- pygmy.defaults: true
- pygmy.weight: 15
- pygmy.enable: true
- traefik.enable: true
- traefik.port: 80
- traefik.http.routers.mailhog.rule: Host(`mailhog.docker.amazee.io`)
unofficial-phpmyadmin:
Config:
Image: phpmyadmin/phpmyadmin
Env:
- "PMA_ARBITRARY=1"
Labels:
- pygmy.enable: true
- pygmy.name: unofficial-phpmyadmin
- pygmy.weight: 20
- pygmy.url: http://phpmyadmin.docker.amazee.io
- traefik.enable: true
- traefik.port: 80
- traefik.http.routers.phpmyadmin.rule: Host(`phpmyadmin.docker.amazee.io`)
HostConfig:
PortBindings:
80/tcp:
- HostPort: 8770
unofficial-portainer:
Config:
Image: portainer/portainer
Labels:
- pygmy.enable: true
- pygmy.name: unofficial-portainer
- pygmy.url: http://portainer.docker.amazee.io
- traefik.enable: true
- traefik.port: 80
- traefik.http.routers.portainer.rule: Host(`portainer.docker.amazee.io`)
ExposedPorts:
9000/tcp: {}
HostConfig:
Binds:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
PortBindings:
8000/tcp:
- HostPort: 8200
9000/tcp:
- HostPort: 8100
unofficial-traefik-2:
Config:
Image: library/traefik:v2.1.3
Cmd:
- --api
- --api.insecure=true
- --providers.docker
- --providers.docker.exposedbydefault=false
- --providers.docker.defaultrule=Host(`{{ index .Labels "com.docker.compose.project" }}.docker.amazee.io`)
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
ExposedPorts:
80/tcp:
HostPort: 80
443/tcp:
HostPort: 443
8080/tcp:
HostPort: 3080
Labels:
- pygmy.name: unofficial-traefik-2
- pygmy.enable: true
- pygmy.url: http://traefik.docker.amazee.io
- traefik.docker.network: amazeeio-network
- traefik.enable: true
- traefik.port: 80
- traefik.http.routers.traefik.rule: Host(`traefik.docker.amazee.io`)
- traefik.http.routers.traefik.tls: true
- traefik.http.routers.traefik.service: api@internal
- traefik.providers.docker.defaultport: 8080
HostConfig:
Binds:
- /var/run/docker.sock:/var/run/docker.sock
PortBindings:
443/tcp:
- HostPort: 443
80/tcp:
- HostPort: 80
8080/tcp:
- HostPort: 8080
RestartPolicy:
Name: always
MaximumRetryCount: 0
NetworkConfig:
Ports:
80/tcp:
- HostPort: 80
8080/tcp:
- HostPort: 8080
networks:
amazeeio-network:
Name: amazeeio-network
IPAM:
Config:
- Subnet: 10.99.99.0/24
Gateway: 10.99.99.1
Containers:
unofficial-traefik-2:
Name: unofficial-traefik-2
unofficial-portainer:
Name: unofficial-portainer
unofficial-phpmyadmin:
Name: unofficial-phpmyadmin
amazeeio-mailhog:
Name: amazeeio-mailhog
Labels:
- pygmy.network: true
volumes:
portainer_data:
Name: portainer_data
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment