Skip to content

Commit

Permalink
Create docker-compose.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fabriziosalmi authored Aug 31, 2024
1 parent 4662f2a commit 14f1a5e
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lxc_autoscale/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: '3.8'

services:
lxc-autoscale:
image: lxc-autoscale # Ensure that this image is built locally or available on a registry
container_name: lxc-autoscale
env_file:
- .env # Use the .env file for environment variables
volumes:
- log_data:/var/log/lxc_autoscale # Docker volume for logs
- lock_data:/var/lock/lxc_autoscale # Docker volume for lock files
- backup_data:/var/lib/lxc_autoscale # Docker volume for backups
- local_bin:/usr/local/bin # Docker volume for scripts and binaries
restart: unless-stopped

volumes:
log_data:
lock_data:
backup_data:
local_bin:

0 comments on commit 14f1a5e

Please sign in to comment.