Skip to content

Commit 4a36102

Browse files
committed
wip: add docker-compose
1 parent 3799ec2 commit 4a36102

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,4 @@ jobs:
6161

6262
- name: Push To Production
6363
run: |
64-
curl --request POST '${{ secrets.DEPLOYMENT_WEBHOOK_URL }}' --header 'Authorization: Bearer ${{ secrets.DEPLOYMENT_TOKEN }}'
64+
curl --request GET '${{ secrets.DEPLOYMENT_WEBHOOK_URL }}' --header 'Authorization: Bearer ${{ secrets.DEPLOYMENT_TOKEN }}'

Sources/App/Utils/Environment+.swift

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ import ArgumentParser
22
import Dependencies
33
import Hummingbird
44

5-
public enum AppEnv: String, Codable, ExpressibleByArgument {
6-
case development
7-
case production
8-
}
9-
105
private enum EnvKeys {
116
static let appSecret = "APP_SECRET"
127
static let basicAuthUsername = "BASIC_AUTH_USER"

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: '3'
2+
services:
3+
app:
4+
image: 'ghcr.io/errorerrorerror/erikbautista.dev:main'
5+
ports:
6+
- '8080:8080'

0 commit comments

Comments
 (0)