Skip to content

Commit 74f5ddb

Browse files
committed
Remove api and web configs
Use the configs in the respective repos. I'm not sure why this was done, but this setup makes it very easy for the configs to get out of sync. Since we are not using docker compose in production, I don't think we should make the config file setup any more complicated it needs to be.
1 parent 028feef commit 74f5ddb

File tree

5 files changed

+0
-124
lines changed

5 files changed

+0
-124
lines changed

configs/metacpan-api/metacpan.pl

-23
This file was deleted.

configs/metacpan-api/metacpan_server.conf

-25
This file was deleted.

configs/metacpan-api/metacpan_server_testing.conf

-40
This file was deleted.

configs/metacpan-web/metacpan_web_local.conf

-8
This file was deleted.

docker-compose.yml

-28
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,6 @@ services:
7474
source: ./src/metacpan-web
7575
target: /metacpan-web
7676
# read_only: true
77-
- type: bind
78-
source: ./configs/metacpan-web/metacpan_web_local.conf
79-
target: /metacpan-web/metacpan_web_local.conf
80-
read_only: true
8177
ports:
8278
- "5001:5001"
8379
networks:
@@ -118,18 +114,6 @@ services:
118114
- type: bind
119115
source: ./src/metacpan-api
120116
target: /metacpan-api
121-
- type: bind
122-
source: ./configs/metacpan-api/metacpan_server.conf
123-
target: /metacpan-api/metacpan_server.conf
124-
read_only: true
125-
- type: bind
126-
source: ./configs/metacpan-api/metacpan_server_testing.conf
127-
target: /metacpan-api/metacpan_server_testing.conf
128-
read_only: true
129-
- type: bind
130-
source: ./configs/metacpan-api/metacpan.pl
131-
target: /metacpan-api/etc/metacpan.pl
132-
read_only: true
133117
- type: bind
134118
source: ./bin/index-cpan.sh
135119
target: /bin/index-cpan.sh
@@ -171,18 +155,6 @@ services:
171155
- type: bind
172156
source: ./src/metacpan-api
173157
target: /metacpan-api
174-
- type: bind
175-
source: ./configs/metacpan-api/metacpan_server.conf
176-
target: /metacpan-api/metacpan_server.conf
177-
read_only: true
178-
- type: bind
179-
source: ./configs/metacpan-api/metacpan_server_testing.conf
180-
target: /metacpan-api/metacpan_server_testing.conf
181-
read_only: true
182-
- type: bind
183-
source: ./configs/metacpan-api/metacpan.pl
184-
target: /metacpan-api/etc/metacpan.pl
185-
read_only: true
186158
- type: bind
187159
source: ./bin/index-cpan.sh
188160
target: /bin/index-cpan.sh

0 commit comments

Comments
 (0)