Skip to content

Commit

Permalink
Merge pull request #12 from chhsiao1981/docker-compose-go-pttbbs
Browse files Browse the repository at this point in the history
docker-compose use pttofficialapps/go-pttbbs
  • Loading branch information
chhsiao1981 authored Dec 6, 2020
2 parents 8db9127 + 30a5f7b commit 36e2d32
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Python middleware for OpenBBS.
You can run docker with the following steps:

* copy `docker_compose.env.template` to `docker_compose.env` and modify the settings.
* `./scripts/docker_initbbs.sh [BBSHOME] chhsiao1981/go-bbs:dev`
* `./scripts/docker_initbbs.sh [BBSHOME] pttofficialapps/go-pttbbs:latest`
* `docker-compose --env-file docker_compose.env -f docker-compose.yaml up -d`
* register at `http://localhost:3457/Account/register`
* login at `http://localhost:3457/Account/login`
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '2'
services:
go-bbs:
image: chhsiao1981/go-bbs:dev
go-pttbbs:
image: pttofficialapps/go-pttbbs:latest
ports:
- "127.0.0.1:8888:8888"
- "127.0.0.1:48763:48763"
Expand Down
2 changes: 1 addition & 1 deletion production.docker.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use = egg:openbbs_middleware
# flask_security_confirmable = true
# flask_security_registerable = true

ptt_server = http://go-bbs:3456
ptt_server = http://go-pttbbs:3456

flask_static_folder = ./static

Expand Down

0 comments on commit 36e2d32

Please sign in to comment.