generated from coop-cloud/example
Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
b6aa829da8 | |||
3d74c22248 | |||
56d7a64a1b | |||
d2308332e4 | |||
697fe25259 | |||
bad32dd353 | |||
f25c45c5c6 |
@ -5,7 +5,7 @@
|
||||
Custom HTML website, served using Nginx.
|
||||
|
||||
<!-- metadata -->
|
||||
* **Category**: Apps
|
||||
* **Category**: Development
|
||||
* **Status**: 2, beta
|
||||
* **Image**: [`nginx`](https://hub.docker.com/_/nginx), 4, upstream
|
||||
* **Healthcheck**: No
|
||||
@ -23,9 +23,9 @@ Custom HTML website, served using Nginx.
|
||||
4. `abra app config YOURAPPDOMAIN` - be sure to change `$DOMAIN` to something that resolves to
|
||||
your Docker swarm box
|
||||
5. `abra app deploy YOURAPPDOMAIN`
|
||||
6. Copy your files to the container, using something like
|
||||
6. Copy your files to the container using:
|
||||
```
|
||||
abra app YOURAPPDOMAIN cp index.html app:/usr/share/nginx/html
|
||||
abra app cp YOURAPPDOMAIN index.html app:/usr/share/nginx/html
|
||||
```
|
||||
|
||||
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra
|
||||
|
@ -3,7 +3,7 @@ services:
|
||||
git:
|
||||
environment:
|
||||
- GIT_REPO_URL
|
||||
image: alpine/git:v2.36.3
|
||||
image: alpine/git:v2.40.1
|
||||
entrypoint: /docker-entrypoint.sh
|
||||
volumes:
|
||||
- content:/git
|
||||
|
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: nginx:1.23.3
|
||||
image: nginx:1.25.3
|
||||
networks:
|
||||
- proxy
|
||||
deploy:
|
||||
@ -19,7 +19,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.3.1+1.23.3"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.5.1+1.25.3"
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/usr/share/nginx/html"
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user