Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Use postgres/example user/password credentials
- version: '3.1'
- services:
- db:
- image: postgres
- container_name: postgres:11
- restart: always
- environment:
- POSTGRES_PASSWORD: example
- networks:
- - shared
- adminer:
- image: adminer
- container_name: adminer
- restart: always
- ports:
- - 8888:8080
- networks:
- - shared
- redis:
- image: redis
- container_name: redis
- networks:
- - shared
- netbox:
- image: ghcr.io/linuxserver/netbox
- container_name: netbox
- environment:
- - PUID=1000
- - PGID=1000
- - SUPERUSER_EMAIL=admin@netbox.local
- - SUPERUSER_PASSWORD=password
- - ALLOWED_HOST=mynetbox.local
- - DB_USER=netbox
- - DB_PASSWORD=password
- - TZ=America/New_York
- volumes:
- - /home/ubuntu/.config/appdata/netbox:/config
- ports:
- - 8000:8000
- restart: unless-stopped
- depends_on:
- - db
- - redis
- networks:
- - shared
- networks:
- shared:
- driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement