Skip to content

Commit

Permalink
🚉 docker platform
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Apr 6, 2024
1 parent 1f8559e commit 695eaca
Show file tree
Hide file tree
Showing 18 changed files with 3 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/example.env
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ PLEX_CLAIM=XXXXXXXXXXXXXX

### OPENAI (NEXT-WEB + SLACK BOT) ###
OPENAI_API_KEY="sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
# OPENAI_MODEL="gpt-3.5-turbo"
# OPENAI_MODEL="gpt-4-turbo-preview"
SLACK_BOT_TOKEN=xoxb-XXXXXXXXXXX-XXXXXXXXXXX-XXXXXXXXXXX
SLACK_APP_TOKEN=xapp-1-XXXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX
# SLACK_APP_LOG_LEVEL="INFO"
1 change: 0 additions & 1 deletion stacks/core/socket-proxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ services:
security_opt:
- no-new-privileges:true
restart: always
platform: ${DOCKER_PLATFORM:-linux/amd64}
environment:
- LOG_LEVEL=notice # debug, info, notice, warning, err, crit, alert, emerg
- EVENTS=1
Expand Down
1 change: 0 additions & 1 deletion stacks/core/traefik/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ services:
security_opt:
- no-new-privileges:true
restart: always
platform: ${DOCKER_PLATFORM:-linux/amd64}
depends_on:
- socket-proxy
- duckdns
Expand Down
1 change: 0 additions & 1 deletion stacks/media/calibre.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/heimdall.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/nzbget.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/ombi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/prowlarr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/radarr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/readarr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/sonarr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/tautulli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/media/transmission.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/miscellaneous/chat-gpt-next-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ services:
environment:
OPENAI_API_KEY: ${OPENAI_API_KEY}
TZ: ${TZ}
platform: ${DOCKER_PLATFORM:-linux/amd64}
labels:
traefik.enable: true
traefik.http.routers.chat-rtr.rule: Host(`${CHAT_SUBDOMAIN:-chat}.${DOMAIN_NAME}`)
Expand Down
4 changes: 2 additions & 2 deletions stacks/miscellaneous/chatgpt-in-slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ services:
profiles: ["miscellaneous", "all"]
networks:
internal:
platform: ${DOCKER_PLATFORM:-linux/amd64}
platform: linux/amd64
environment:
SLACK_BOT_TOKEN: ${SLACK_BOT_TOKEN}
SLACK_APP_TOKEN: ${SLACK_APP_TOKEN}
OPENAI_API_KEY: ${OPENAI_API_KEY}
OPENAI_MODEL: ${OPENAI_MODEL:-gpt-3.5-turbo}
OPENAI_MODEL: ${OPENAI_MODEL:-gpt-4-turbo-preview}
TRANSLATE_MARKDOWN: ${TRANSLATE_MARKDOWN:-true}
SLACK_APP_LOG_LEVEL: ${SLACK_APP_LOG_LEVEL:-INFO}
TZ: ${TZ}
Expand Down
1 change: 0 additions & 1 deletion stacks/utilities/pihole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ services:
- ${DOCKER_DIRECTORY}/appdata/utilities/pihole/dnsmasq.d/:/etc/dnsmasq.d/
networks:
traefik:
platform: ${DOCKER_PLATFORM:-linux/amd64}
ports:
- ${PHYSICAL_SERVER_IP}:53:53/tcp
- ${PHYSICAL_SERVER_IP}:53:53/udp
Expand Down
1 change: 0 additions & 1 deletion stacks/utilities/sftpgo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ services:
security_opt:
- no-new-privileges:true
restart: ${UNIVERSAL_RESTART_POLICY:-unless-stopped}
platform: ${DOCKER_PLATFORM:-linux/amd64}
networks:
traefik:
labels:
Expand Down
1 change: 0 additions & 1 deletion stacks/utilities/watchtower.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ services:
security_opt:
- no-new-privileges:true
restart: always
platform: ${DOCKER_PLATFORM:-linux/amd64}
environment:
TZ: ${TZ}
WATCHTOWER_CLEANUP: "true"
Expand Down

0 comments on commit 695eaca

Please sign in to comment.