Skip to content

Commit ae6c660

Browse files
authored
Clarify the production docker-compose.yml config
1 parent a5f415d commit ae6c660

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ volumes:
6565
attachments: # the asset-servers attachment files
6666
```
6767
68+
For production use, it's recommended to also add an nginx web server between
69+
the web asset server and the outside world. Example
70+
[nginx.conf](https://github.com/specify/specify7/blob/393538b081eb797beb502204cdea9311179361f6/nginx.conf#L17-L26)
71+
and [docker-compose.yml](https://github.com/specify/specify7/blob/393538b081eb797beb502204cdea9311179361f6/docker-compose.yml#L126-L135).
72+
73+
For development/evaluation, web asset server can be exposed directly. To do so,
74+
add the following lines to your `docker-compose.yml` right after the `asset-server:` line:
75+
```yaml
76+
ports:
77+
- "8080:3306"
78+
```
79+
6880
## Installing system dependencies
6981

7082
The dependencies are:

0 commit comments

Comments
 (0)