-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4662f2a
commit 14f1a5e
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |