Skip to content

Commit ebf0733

Browse files
committed
feat: add docker compose yml
1 parent ad0133b commit ebf0733

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: '3.8'
2+
3+
services:
4+
wechat-server:
5+
image: skynono/wechat-server:latest
6+
container_name: wechat-server
7+
restart: unless-stopped
8+
ports:
9+
- "${PORT:-3000}:3000"
10+
environment:
11+
- SQL_DSN=${SQL_DSN}
12+
- REDIS_ADDR=${REDIS_ADDR}
13+
- REDIS_PASSWORD=${REDIS_PASSWORD}
14+
- SESSION_SECRET=${SESSION_SECRET}
15+
- GIN_MODE=${GIN_MODE}
16+
volumes:
17+
- ./data:/data

0 commit comments

Comments
 (0)