Skip to content

Commit

Permalink
set default install config
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Jul 3, 2024
1 parent 5794f05 commit 2dee663
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion install/.env.dist
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
VERSION=latest
NGINX_PORT=8080
NGINX_PORT=8080
DB_PORT=127.0.0.1:5432
2 changes: 2 additions & 0 deletions install/INSTALL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Standard install

- Unzip last release
- Copy .env.dist to .env
- Fill your VERSION and port mappings for containers
- Copy app.env.dist to app.env
- Fill your timezone and your server name (domain used in your browser)
- Copy db.env.dist to db.env
Expand Down
2 changes: 1 addition & 1 deletion install/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
retries: 5
image: postgis/postgis:16-3.4
ports:
- "127.0.0.1:5432:5432"
- "${DB_PORT:-127.0.0.1:5432}:5432"
env_file:
- ./db.env
volumes:
Expand Down

0 comments on commit 2dee663

Please sign in to comment.