docker-compose 模板
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
436 B

version: '3.5'
services:
node:
image: nodebb/docker
container_name: nodebb
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
depends_on:
- db
ports:
- 9345:4567
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: example
POSTGRES_USER: user
POSTGRES_DB: db
volumes:
- ./db:/var/lib/postgresql/data