mirror of https://github.com/tiyn/amphora-wiki
parent
ec6d1f15cf
commit
4dbd75a1a9
@ -0,0 +1,10 @@
|
||||
version: "2"
|
||||
|
||||
services:
|
||||
amphora-wiki:
|
||||
build: .
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5000:5000"
|
||||
environment:
|
||||
- "FLASK_ENV=production"
|
@ -1,9 +1,3 @@
|
||||
#!/bin/sh
|
||||
docker stop amphora-wiki
|
||||
docker rm amphora-wiki
|
||||
docker build . -t tiyn/amphora-wiki
|
||||
docker run --name amphora-wiki \
|
||||
--restart unless-stopped \
|
||||
-p "5000:5000" \
|
||||
-e FLASK_ENV=development \
|
||||
-d tiyn/amphora-wiki
|
||||
docker-compose down
|
||||
docker-compose up -d
|
||||
|
Loading…
Reference in new issue