Remove the admin update service, command, and related files, and update Docker configurations.

This commit is contained in:
syntaxbullet
2026-01-30 15:29:50 +01:00
parent fee4969910
commit c8bf69a969
8 changed files with 5 additions and 1676 deletions

View File

@@ -29,21 +29,6 @@ services:
limits:
memory: 512M
socket-proxy:
image: tecnativa/docker-socket-proxy
container_name: socket_proxy
restart: unless-stopped
environment:
- CONTAINERS=1
- POST=1
- BUILD=1
- NETWORKS=1
- IMAGES=1 # Needed for pulling/pruning
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
networks:
- internal
app:
container_name: aurora_app
restart: unless-stopped
@@ -54,13 +39,7 @@ services:
image: aurora-app:latest
ports:
- "127.0.0.1:3000:3000"
# Volumes for bot-triggered deployments
volumes:
# Project directory - allows git pull and rebuild
- .:/app/deploy
# SSH Keys for git authentication
- ~/.ssh/aurora_bot_key:/home/bun/.ssh/id_ed25519:ro
- ~/.ssh/known_hosts:/home/bun/.ssh/known_hosts:ro
working_dir: /app
environment:
- NODE_ENV=production
@@ -74,14 +53,11 @@ services:
- DISCORD_GUILD_ID=${DISCORD_GUILD_ID}
- DISCORD_CLIENT_ID=${DISCORD_CLIENT_ID}
- DATABASE_URL=postgresql://${DB_USER}:${DB_PASSWORD}@db:5432/${DB_NAME}
# Deploy directory path for bot-triggered deployments
- DEPLOY_DIR=/app/deploy
- DOCKER_HOST=tcp://socket-proxy:2375
depends_on:
db:
condition: service_healthy
socket-proxy:
condition: service_started
networks:
- internal
- web