emanuelegori a révisé ce gist . Aller à la révision
1 file changed, 1 insertion, 1 deletion
docker-compose.yml
| @@ -1,5 +1,5 @@ | |||
| 1 | 1 | services: | |
| 2 | - | phampy: | |
| 2 | + | phanpy: | |
| 3 | 3 | image: ghcr.io/yitsushi/phanpy-docker:latest | |
| 4 | 4 | container_name: phanpy | |
| 5 | 5 | hostname: phanpy | |
emanuelegori a révisé ce gist . Aller à la révision
1 file changed, 1 insertion, 14 deletions
docker-compose.yml
| @@ -10,17 +10,4 @@ services: | |||
| 10 | 10 | interval: 30s | |
| 11 | 11 | timeout: 10s | |
| 12 | 12 | retries: 3 | |
| 13 | - | environment: | |
| 14 | - | - NODE_ENV=production | |
| 15 | - | #- MASTODON_INSTANCE_URL=https://mastodon.example.com | |
| 16 | - | #- MASTODON_ACCESS_TOKEN=your_access_token_here | |
| 17 | - | volumes: | |
| 18 | - | - ./data:/app/data | |
| 19 | - | #networks: | |
| 20 | - | # - npm-internal | |
| 21 | - | restart: unless-stopped | |
| 22 | - | ||
| 23 | - | #networks: | |
| 24 | - | # npm-internal: | |
| 25 | - | # name: npm-internal | |
| 26 | - | # external: true | |
| 13 | + | restart: unless-stopped | |
emanuelegori a révisé ce gist . Aller à la révision
1 file changed, 6 insertions, 1 deletion
docker-compose.yml
| @@ -5,6 +5,11 @@ services: | |||
| 5 | 5 | hostname: phanpy | |
| 6 | 6 | ports: | |
| 7 | 7 | - 3000:3000 | |
| 8 | + | healthcheck: | |
| 9 | + | test: ["CMD", "curl", "-f", "http://localhost"] | |
| 10 | + | interval: 30s | |
| 11 | + | timeout: 10s | |
| 12 | + | retries: 3 | |
| 8 | 13 | environment: | |
| 9 | 14 | - NODE_ENV=production | |
| 10 | 15 | #- MASTODON_INSTANCE_URL=https://mastodon.example.com | |
| @@ -18,4 +23,4 @@ services: | |||
| 18 | 23 | #networks: | |
| 19 | 24 | # npm-internal: | |
| 20 | 25 | # name: npm-internal | |
| 21 | - | external: true | |
| 26 | + | # external: true | |
emanuelegori a révisé ce gist . Aller à la révision
1 file changed, 6 insertions, 6 deletions
docker-compose.yml
| @@ -3,7 +3,6 @@ services: | |||
| 3 | 3 | image: ghcr.io/yitsushi/phanpy-docker:latest | |
| 4 | 4 | container_name: phanpy | |
| 5 | 5 | hostname: phanpy | |
| 6 | - | restart: unless-stopped | |
| 7 | 6 | ports: | |
| 8 | 7 | - 3000:3000 | |
| 9 | 8 | environment: | |
| @@ -12,10 +11,11 @@ services: | |||
| 12 | 11 | #- MASTODON_ACCESS_TOKEN=your_access_token_here | |
| 13 | 12 | volumes: | |
| 14 | 13 | - ./data:/app/data | |
| 15 | - | networks: | |
| 16 | - | - npm-internal | |
| 14 | + | #networks: | |
| 15 | + | # - npm-internal | |
| 16 | + | restart: unless-stopped | |
| 17 | 17 | ||
| 18 | - | networks: | |
| 19 | - | npm-internal: | |
| 20 | - | name: npm-internal | |
| 18 | + | #networks: | |
| 19 | + | # npm-internal: | |
| 20 | + | # name: npm-internal | |
| 21 | 21 | external: true | |
emanuelegori a révisé ce gist . Aller à la révision
Aucun changement
emanuelegori a révisé ce gist . Aller à la révision
Aucun changement
emanuelegori a révisé ce gist . Aller à la révision
Aucun changement
emanuelegori a révisé ce gist . Aller à la révision
1 file changed, 21 insertions
docker-compose.yml(fichier créé)
| @@ -0,0 +1,21 @@ | |||
| 1 | + | services: | |
| 2 | + | phampy: | |
| 3 | + | image: ghcr.io/yitsushi/phanpy-docker:latest | |
| 4 | + | container_name: phanpy | |
| 5 | + | hostname: phanpy | |
| 6 | + | restart: unless-stopped | |
| 7 | + | ports: | |
| 8 | + | - 3000:3000 | |
| 9 | + | environment: | |
| 10 | + | - NODE_ENV=production | |
| 11 | + | #- MASTODON_INSTANCE_URL=https://mastodon.example.com | |
| 12 | + | #- MASTODON_ACCESS_TOKEN=your_access_token_here | |
| 13 | + | volumes: | |
| 14 | + | - ./data:/app/data | |
| 15 | + | networks: | |
| 16 | + | - npm-internal | |
| 17 | + | ||
| 18 | + | networks: | |
| 19 | + | npm-internal: | |
| 20 | + | name: npm-internal | |
| 21 | + | external: true | |