First dev 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/blinko.iml" filepath="$PROJECT_DIR$/.idea/blinko.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>
|
||||||
+50
@@ -0,0 +1,50 @@
|
|||||||
|
services:
|
||||||
|
db:
|
||||||
|
image: postgres:17
|
||||||
|
container_name: Blinko-DB
|
||||||
|
hostname: blinko-db
|
||||||
|
mem_limit: 1g
|
||||||
|
cpu_shares: 1024
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-q", "-d", "blinko", "-U", "blinkouser"]
|
||||||
|
timeout: 45s
|
||||||
|
interval: 10s
|
||||||
|
retries: 10
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/blinko/db:/var/lib/postgresql/data:rw
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: blinko
|
||||||
|
POSTGRES_USER: blinkouser
|
||||||
|
POSTGRES_PASSWORD: blinkopass
|
||||||
|
restart: on-failure:5
|
||||||
|
|
||||||
|
|
||||||
|
blinko:
|
||||||
|
image: blinkospace/blinko:latest
|
||||||
|
container_name: Blinko
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "nc -z 127.0.0.1 1111 || exit 1"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
start_period: 90s
|
||||||
|
environment:
|
||||||
|
NODE_ENV: production
|
||||||
|
NEXTAUTH_URL: http://blinko-dev.maison
|
||||||
|
NEXT_PUBLIC_BASE_URL: http://blinko-dev.maison
|
||||||
|
NEXTAUTH_SECRET: wKIe8YkohAqRkxQv62c8DF0WpUjbU4EQdL6jlDOyBTFYcRL2sJH0Zs8Tj6IAo6Bq
|
||||||
|
DATABASE_URL: postgresql://blinkouser:blinkopass@blinko-db:5432/blinko
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/blinko/data:/app/.blinko:rw
|
||||||
|
logging:
|
||||||
|
options:
|
||||||
|
max-size: "10m"
|
||||||
|
max-file: "3"
|
||||||
|
ports:
|
||||||
|
- 1112:1111
|
||||||
|
depends_on:
|
||||||
|
db:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: on-failure:5
|
||||||
Reference in New Issue
Block a user