Skip to content

Commit e6e6829

Browse files
author
Rub21
committed
Move env vars files to a folder /envs and update paths
1 parent 479d8e8 commit e6e6829

22 files changed

+46
-104
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,5 @@ data/
4141
# ignore all markdown files (md) beside all README*.md
4242
*.md
4343
!README*.md
44+
45+
envs/

.env.example

Lines changed: 0 additions & 61 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,5 @@ tiler-imposm/cachedir/
3333
tiler-imposm/diff/
3434
tiler-imposm/imposm3_expire_dir
3535
tiler-server/imposm/
36-
overpass-api-db/
36+
overpass-api-db/
37+
!data/README.md

docker-compose.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ services:
1313
volumes:
1414
- ./data/db-data:/var/lib/postgresql/data
1515
env_file:
16-
- ./.env.db
16+
- ./envs/.env.db
1717
web:
1818
image: osmseed-web:v1
1919
build:
@@ -22,8 +22,8 @@ services:
2222
ports:
2323
- '80:80'
2424
env_file:
25-
- ./.env.web
26-
- ./.env.db
25+
- ./envs/.env.web
26+
- ./envs/.env.db
2727
depends_on:
2828
- db
2929
# ######################################################
@@ -51,9 +51,9 @@ services:
5151
while :; do echo 'Creating the planet dump file...'; /start.sh; sleep 3m; done;
5252
"
5353
env_file:
54-
- ./.env.db
55-
- ./.env.planet-dump
56-
- ./.env.cloudprovider
54+
- ./envs/.env.db
55+
- ./envs/.env.planet-dump
56+
- ./envs/.env.cloudprovider
5757
depends_on:
5858
- db
5959
######################################################
@@ -73,9 +73,9 @@ services:
7373
while :; do echo 'Creating DB backup...'; /start.sh; sleep 3m; done;
7474
"
7575
env_file:
76-
- ./.env.db
77-
- ./.env.backup-restore
78-
- ./.env.cloudprovider
76+
- ./envs/.env.db
77+
- ./envs/.env.backup-restore
78+
- ./envs/.env.cloudprovider
7979
depends_on:
8080
- db
8181
# ######################################################
@@ -95,9 +95,9 @@ services:
9595
echo Creating the replication files!;
9696
/start.sh"
9797
env_file:
98-
- ./.env.db
99-
- ./.env.replication-job
100-
- ./.env.cloudprovider
98+
- ./envs/.env.db
99+
- ./envs/.env.replication-job
100+
- ./envs/.env.cloudprovider
101101
depends_on:
102102
- db
103103
######################################################
@@ -117,9 +117,9 @@ services:
117117
while :; do echo 'Creating full history PBF file...'; /start.sh; sleep 3m; done;
118118
"
119119
env_file:
120-
- ./.env.db
121-
- ./.env.full-history
122-
- ./.env.cloudprovider
120+
- ./envs/.env.db
121+
- ./envs/.env.full-history
122+
- ./envs/.env.cloudprovider
123123
depends_on:
124124
- db
125125
# ######################################################
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)