forked from caracal-js/Incognito
-
Notifications
You must be signed in to change notification settings - Fork 138
/
Copy pathdocker-compose.build.yml
27 lines (25 loc) · 1.08 KB
/
docker-compose.build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
version: '3'
services:
incognito:
image: motortruck1221/incognito:latest
build:
context: .
dockerfile: Dockerfile
container_name: incognito
restart: unless-stopped
ports:
# The ports work like this: Host:Container (DO NOT MODIFY THE CONTAINER PORT)
- '8081:8000'
volumes:
- ./config.toml:/app/config.toml # this can be removed if you need the image to be stateless
#environment:
# - SEO=false - Enabled to turn on SEO in the build
# - BOTH=false - Use if you want both the SEO and non-seo versions
# - DOMAIN=https://incog.works - Use if you want SEO (when using the both option) to work properly
# The below allows you to change any of the `buildOpts` config options and use them.
#command:
# - bstart - Use if using Fastify
# - bstart:standalone - Use if using Hono
# See docs for differences
# - start:standalone - Command to use Hono over fastify
# See docs for differences between the servers