First initial version
This commit is contained in:
Generated
+3
@@ -0,0 +1,3 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
Generated
+9
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
||||
Generated
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager">
|
||||
<output url="file://$PROJECT_DIR$/out" />
|
||||
</component>
|
||||
</project>
|
||||
Generated
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/bitmagnet.iml" filepath="$PROJECT_DIR$/.idea/bitmagnet.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
Generated
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:17
|
||||
container_name: Bitmagnet-DB
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-q", "-d", "bitmagnet", "-U", "postgres"]
|
||||
timeout: 45s
|
||||
interval: 10s
|
||||
retries: 10
|
||||
volumes:
|
||||
- /volume1/docker/bitmagnet/db:/var/lib/postgresql/data:rw
|
||||
environment:
|
||||
POSTGRES_DB: bitmagnet
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgrespass
|
||||
restart: on-failure:5
|
||||
|
||||
bitmagnet:
|
||||
image: ghcr.io/bitmagnet-io/bitmagnet:latest
|
||||
container_name: Bitmagnet
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "nc -z 127.0.0.1 3333 || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
start_period: 90s
|
||||
user: 1026:100
|
||||
environment:
|
||||
POSTGRES_HOST: db
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgrespass
|
||||
TMDB_API_KEY: c0e0e96c44aa64810b82c0db6887c2e1
|
||||
volumes:
|
||||
- /volume1/docker/bitmagnet/config:/root/.config/bitmagnet:rw
|
||||
command:
|
||||
- worker
|
||||
- run
|
||||
- --all
|
||||
ports:
|
||||
- 8346:3333
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
restart: on-failure:5
|
||||
Reference in New Issue
Block a user