Browse Source

build: support docker compose

JustSong 2 years ago
parent
commit
a3c02d1354
1 changed files with 13 additions and 0 deletions
  1. 13 0
      docker-compose.yml

+ 13 - 0
docker-compose.yml

@@ -0,0 +1,13 @@
+version: "3"
+
+services:
+  message-pusher:
+    image: justsong/message-pusher
+    restart: unless-stopped
+    ports:
+      - 3000:3000
+    environment:
+      - TZ=Asia/Shanghai
+    volumes:
+      - ./data:/data
+      - /etc/localtime:/etc/localtime:ro