Skip to content

Commit bcf57e2

Browse files
committed
new structure
1 parent d9d452f commit bcf57e2

File tree

30 files changed

+9815
-271
lines changed

30 files changed

+9815
-271
lines changed

admin/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM public.ecr.aws/nginx/nginx:stable
2+
EXPOSE 80

bottle-configs/copilot-cli.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

copilot/.workspace

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
application: demo

copilot/admin/manifest.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# The manifest for the "admin" service.
2+
# Read the full specification for the "Load Balanced Web Service" type at:
3+
# https://aws.github.io/copilot-cli/docs/manifest/lb-web-service/
4+
5+
# Your service name will be used in naming your resources like log groups, ECS services, etc.
6+
name: admin
7+
type: Load Balanced Web Service
8+
9+
# Distribute traffic to your service.
10+
http:
11+
path: "/"
12+
alias: efekarakustest.com
13+
additional_rules:
14+
- alias: frontend.efekarakustest.com
15+
path: "/"
16+
target_container: frontend
17+
- alias: efekarakustest.com
18+
path: "_healthcheck"
19+
target_port: 8080
20+
21+
nlb:
22+
alias: nlb.efekarakustest.com
23+
port: 443/tls
24+
target_port: 80
25+
26+
image:
27+
build: admin/Dockerfile
28+
port: 80
29+
30+
sidecars:
31+
frontend:
32+
image:
33+
build: src/frontend/Dockerfile
34+
port: 8080
35+
36+
cpu: 256 # Number of CPU units for the task.
37+
memory: 512 # Amount of memory in MiB used by the task.
38+
count: 1 # Number of tasks that should be running in your service.
39+
exec: true # Enable running commands in your container.
40+
network:
41+
connect: true # Enable Service Connect for intra-environment traffic between services.

0 commit comments

Comments
 (0)