added network commands to compose

This commit is contained in:
boxswapper
2025-09-02 16:47:39 -06:00
parent ac3715aabd
commit 5ceaff9706
2 changed files with 18 additions and 10 deletions

View File

@@ -10,8 +10,8 @@
# Global configuration # Global configuration
################################################################ ################################################################
global: global:
checkNewVersion: true checkNewVersion: false
sendAnonymousUsage: true sendAnonymousUsage: false
################################################################ ################################################################
# EntryPoints configuration # EntryPoints configuration
@@ -36,14 +36,13 @@ entryPoints:
# Enabled by default and log to stdout # Enabled by default and log to stdout
# #
# Optional # Optional
# log:
#log:
# Log level # Log level
# #
# Optional # Optional
# Default: "ERROR" # Default: "ERROR"
# #
# level: DEBUG level: DEBUG
# Sets the filepath for the traefik log. If not specified, stdout will be used. # Sets the filepath for the traefik log. If not specified, stdout will be used.
# Intermediate directories are created if necessary. # Intermediate directories are created if necessary.
@@ -94,20 +93,20 @@ entryPoints:
# #
# Optional # Optional
# #
#api: api:
# Enable the API in insecure mode # Enable the API in insecure mode
# #
# Optional # Optional
# Default: false # Default: false
# #
# insecure: true insecure: true
# Enabled Dashboard # Enabled Dashboard
# #
# Optional # Optional
# Default: true # Default: true
# #
# dashboard: false dashboard: true
################################################################ ################################################################
# Ping configuration # Ping configuration

View File

@@ -1,4 +1,6 @@
name: <your project name> ## Crate network first because it is external:true
#podman network create frontend
services: services:
traefik: traefik:
container_name: traefik container_name: traefik
@@ -6,5 +8,12 @@ services:
- 8080:8080 - 8080:8080
- 80:80 - 80:80
volumes: volumes:
- ./config/traefik.yml:/etc/traefik/traefik.yml:z - ./config/traefik.yml:/etc/traefik/traefik.yml:ro
image: traefik:v3.5 image: traefik:v3.5
restart: unless-stopped
networks:
- frontend
networks:
frontend:
external: true