aboutsummaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 00000000..451b4e76
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,20 @@
+version: '3.8'
+services:
+ vnext:
+ network_mode: bridge
+ build:
+ context: .
+ dockerfile: vnext/server/Dockerfile
+ restart: unless-stopped
+ ports:
+ - "127.0.0.1:8081:8081"
+ extra_hosts:
+ - "host.docker.internal:host-gateway"
+ environment:
+ JUICK_FCM_SERVICE_ACCOUNT_FILE: ${JUICK_FCM_SERVICE_ACCOUNT_FILE}
+ DEBUG: sender,durov,http,event,hms,android
+ NODE_CONFIG_DIR: /etc/juick
+ PG_HOST: host.docker.internal
+ DATABASE_URL: postgres://juick@host.docker.internal/juick
+ volumes:
+ - /etc/juick:/etc/juick